作者Larba (............)
看板Visual_Basic
标题[.NET] 想要问个bug
时间Thu May 29 21:53:11 2008
请输入专案类型(网站专案或者应用程式专案):
使用 VS2005 MySQL
突然有个问题
Exception type: MySqlConversionException
Exception message: Unable to convert MySQL date/time value to System.DateTime
上网找了一下 可以加上 Allow Zero Datetime=True 便可解决了
但是 试了之後 好像不可使用 ToString method
降我之前写的程式就要重新改过了 降还要花很多时间修改
请问各位高手 还有另外解法吗? THX
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.135.10.114
1F:推 nobody1:format() 05/31 11:39
2F:推 fumizuki:值是Null???? 那用IsDBNull() 判断空值吧 05/31 19:31