Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i am a student and facing a bump in my project.

mysql database in on a centos machine. one of the table is having datetime format.

in Visual studio i wrote the sql query. everything else is working fine except the datetime column.

"Unable to convert mysql datetime to System.DateTime"

can anyone please give me step by step guide to resolve this error.

i am using this data to view in data grid view.
thankyou.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900