I have a dataset that is populated by reading excel file. The dataset stores the data from the excel.
The date in the dataset in in the format 2\2\2009 12:00:00 AM but i need the data format converted to 2\2\2009 .
I want to change the format of all the data in that particular column.
Here’s one way:
This is assuming that the “Date” column is just a text field rather than already a DateTime field.