MySQL C#连接MySQL保存当前时间,时分秒都是0,只有日期 原因:MySQL的字段格式是:date 解决: 1、把 字段格式 改为 datetime 2、映射 的字段类型 也要改为 datetime