Hello all,
I'm passing DBNull.value as a parameter in my store procedure, yet it's not updating the field in the DB (SQL Server 2000). Here's the line of code that does it here:
updateSqlCommand.Parameters["@dDate"].Value = DBNull.Value
Is this because it's a date field? If it is, then how do I pass a null value as a parameter to update a date field?
Thanks,
Damann
I'm passing DBNull.value as a parameter in my store procedure, yet it's not updating the field in the DB (SQL Server 2000). Here's the line of code that does it here:
updateSqlCommand.Parameters["@dDate"].Value = DBNull.Value
Is this because it's a date field? If it is, then how do I pass a null value as a parameter to update a date field?
Thanks,
Damann