This project has moved. For the latest updates, please go here.

EPPlus issue with DateTime fields in Datatable

Apr 1, 2014 at 7:52 PM
How do I prevent EPPlus from converting a datetime field in the passed datatable to a double? The columns in table are dynamic in nature and therefore I cannot apply datetime format to the cell as the column position is unkown.

Thanks,
Apr 2, 2014 at 3:29 PM
Edited Apr 2, 2014 at 3:29 PM
I ended up resolving this by iterating through the columns in datatable. If datatype of column is DateTime then apply excel date formatting to the column.
Marked as answer by sorialtg on 4/2/2014 at 8:29 AM