load data local infile 'D:\11.txt' into table test_excel fields terminated by '\t';
我试了一下,导入进去后,原来为空的日期在数据库里面显示0000-00-00,则aspnet客户端gridview绑定不了。出现错误Unable to convert MySQL date/time value to System.DateTime
我试了一下,导入进去后,原来为空的日期在数据库里面显示0000-00-00,则aspnet客户端gridview绑定不了。出现错误Unable to convert MySQL date/time value to System.DateTime
则用strtotime("now")把现在的日期写入进去