日期总是显示1900/01/01 0:00:00

 原因是在插入的

 或者是在插入日期的时候写成这种格式

new XElement("Date2", Date2.Text == null ? Date2.Text : null)

原文地址:https://www.cnblogs.com/sanshengshitouhua/p/14365972.html