Unable to convert MySQL date/time value to System.DateTime
Hi, i have a table in mysql database with with a column for date. It was working when i initially set it up. Using custom format in my form in visual studio. But i deleted all the columns in my table and then reordered them but the same columns. After then i start getting the error: {"Unable to convert MySQL date/time value to System.DateTime"}. I have set convert to zero time=true, yet it is still showing i have also change the default column value to NULL yet it is still showing. Please help me. Thanks

Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Jan 10, 2017, 11:34 PM EST
You mentioned,
One more thing, just similar to NULL errors, also make sure that you are not setting your column values to, '0000-00-00 00:00:00' -- default values. Consider using a real date time value, such as today and then see if that works correctly or not.
Ikechukwu Daniel98 reputationPosted Jan 11, 2017, 1:08 AM EST
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Jan 11, 2017, 2:26 AM EST
Chetan RanpariyaRank #1,852 · 801 reputationPosted Jan 11, 2017, 4:47 AM EST