首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

Unable to convert MySQL date/time value to System.DateTime解决方案

2013-12-13 
Unable to convert MySQL date/time value to System.DateTimeC#操作MyS经常时经常出现Unable to convert

Unable to convert MySQL date/time value to System.DateTime
C#操作MyS经常时经常出现Unable to convert MySQL date/time value to System.DateTime的异常。MySql的连接字符串已经加上Allow Zero Datetime=True,仍然无用。语句:update deviceDoorsEmp set IsDownload=1,DownloadTime='2012-02-11 08:34:20' where DeviceID=10 and empID='11590' ,数据库表中DownloadTime属性为‘datetime’,为什么是经常出现异常,如果错误,应该每次都报异常,跪求大神回复。

热点排行