I am reading an excel file using C# code into a data-table and displaying it into WPF data-grid. When I am reading dates from excel file and display them into data-grid the format of dates changes. I am using Oledb ADO.NET to read excel file.
The query I am using is:
SELECT * FROM [Sheet1$]
So basically I want to read data from excel, they it appears to user when he/she opens an excel and the same way I want to display it in my data-grid. Please guide me. If you need any other information about this problem, please ask me.
Regards, Priyank Thakkar