作者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
推 nobody1:format() 05/31 11:39
推 fumizuki:值是Null???? 那用IsDBNull() 判斷空值吧 05/31 19:31