SyntaxFix
Write A Post
Hire A Developer
Questions
Use DBNull.Value Better still, make your stored procedure parameters have defaults of NULL. Or use a Nullable<DateTime> parameter if the parameter will sometimes be a valid DateTime object
DBNull.Value
Nullable<DateTime>