SyntaxFix
Write A Post
Hire A Developer
Questions
SqlParameters[1] = new SqlParameter("Date1", SqlDbType.SqlDateTime); SqlParameters[1].Value = DBNull.Value; SqlParameters[1].Direction = ParameterDirection.Input;
...then copy for the second.