I have a stored procedure that needs smalldatetime for a couple of dates. In VB I was able to pass a string and it worked fine.
Now, I'm using C# and LINQ and I have the input defined as a date. I am not pulling any data because it looks like it's a different format coming in.
How do I pass this stored procedure the smalldatetime it needs? I have tried using ParseExact(field,'mm/dd/yyyy', null) , but that doesnt work.
How do I handle ?
Go to the complete details ...