摘要: C#读取MySql时,如果存在字段类型为date/datetime时的可能会出现以下问题“Unable to convert MySQL date/time value to System.DateTime”原因:可能是该字段(date/datetime)的值默认缺省值为:0000-00-00/00 阅读全文
posted @ 2017-01-25 15:25 洛晨随风 阅读(4707) 评论(0) 推荐(1)
摘要: 科普:扩展方法。必须是静态的而且开头的第一个参数是某种类型前面加入this 阅读全文
posted @ 2017-01-25 15:14 洛晨随风 阅读(1778) 评论(2) 推荐(0)