Unable to convert MySQL date/time value to System.DateTime

Posted by Sri Kumar on Stack Overflow See other posts from Stack Overflow or by Sri Kumar
Published on 2010-05-29T11:39:02Z Indexed on 2010/05/29 11:42 UTC
Read the original article Hit count: 207

Filed under:
|
|
|
|

Hello

I am using ibatis and C#. i get a result from a select query that has CreatedDate as one of the field. The Datatype of CreatedDate in Mysql is Date. I assign the result set of the select query to a Ilist< DeliveryClass > **. Here the DeliveryClass CreatedDate as DateTime. When i run the application, i get **Unable to convert MySQL date/time value to System.DateTime. What could be the problem?

© Stack Overflow or respective owner

Related posts about c#

Related posts about mysql