I\'m trying to call a stored procedure (on a SQL 2005 server) from C#, .NET 2.0 using DateTime as a value to a SqlParameter. The SQL type in the s
DateTime
SqlParameter
Just use:
param.AddWithValue("@Date_Of_Birth",DOB);
That will take care of all your problems.