0

I want to update datetime data on sqlserver but DBNull.Value writes 1900-01-01 00:00:00.000 to my database. I want it NULL. How can I do? Thanks in advance.

4
  • This might help stackoverflow.com/questions/19641813/… ? Commented Nov 12, 2014 at 13:01
  • I think it is about Insert query. I want to use UPDATE query. Commented Nov 12, 2014 at 13:08
  • Is your column nullable in the database? Commented Nov 12, 2014 at 13:10
  • Allow Nulls option is checked in database. Commented Nov 12, 2014 at 13:14

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.