How to insert a null value in a column of datatype 'DateTime'? I am coding in c#?
Printable View
How to insert a null value in a column of datatype 'DateTime'? I am coding in c#?
you could try some value that you dont expect to use (ie, DateTime.MinValue?)
If you're talking about a field in a DataRow, you use DBNull.Value to represent a null value regardless of the type of the column.