I\'m trying to read from mysql field with datetime type and I was trying everything and always it\'s return field name only.
Here is my code:
using (MySq
The issue is your SELECT statement, you have single quotes ' instead of back ticks around sDate and so the value of that field is in fact "sDate".
SELECT
'
sDate
"sDate"
Or as Jon Skeet stated, get rid of the back ticks entirely because they exist for keywords only, must like the [] do for MSSQL.
[]