2009年6月24日
摘要: 使用mysqlclient查询记录,报Unable to convert MySQL date/time value to System.DateTimemysql的date/time类型通过ado.net查询得到的是一个字符串,而不是日期类型,需要手动用程序转换,不过你可以设置连接字符串"Allow Zero Datetime=true",得到的就是日期型,不用转换了 阅读全文
posted @ 2009-06-24 16:01 Dot-Boy 阅读(318) 评论(0) 推荐(0) 编辑