How to store sorted records in csv file ?
- by Harikrishna
I sort the records of the datatable datewise with the column TradingDate which is type of datetime.
TableWithOnlyFixedColumns.DefaultView.Sort = "TradingDate asc";
Now I want to display these sorted records into csv file but it does not display records sorted by date.
TableWithOnlyFixedColumns.DefaultView.Sort = "TradingDate…