DataTable not displaying Datatime data which are converted into string
DataTable not displaying Datatime data which are converted into string
I am currently displaying data stored in the SQL Server DB **into the DataTable.
I have a **column **of type **DateTime.
While fetching the data from the database I'm **converting **the datatime values into **string **(in my mvc application).
The datatable doesn't display anything this column. (But the datatable successfully displayed the same when I tried to fetch the data as-is without converting into string )
I'm sure it's not a datatable limitation, so what additional tweaks do I need to do if I want to display string-converted Datatime values?