使用c#向数据库插入控制,Convert.ToDateTime()报错,所以百度了一下,找到下面的使用日期空值的方法
Nullable<DateTime> DateTimeIsNull = null;
DateTime time; time = DateTimeIsNull.Value;
DateTime 赋值 Null c#
原文:http://www.cnblogs.com/YoungPop-Chen/p/3522077.html