【发布时间】:2011-02-25 11:08:32
【问题描述】:
我正在使用 ibatis 和 C#。我从具有 CreatedDate 作为字段之一的选择查询中得到结果。 Mysql 中 CreatedDate 的数据类型是 Date。我将选择查询的结果集分配给 Ilist
这里 DeliveryClass CreatedDate 为 DateTime。当我运行应用程序时,我得到无法将 MySQL 日期/时间值转换为 System.DateTime。可能是什么问题?
【问题讨论】:
标签: c# mysql datetime date ibatis