I am using EPPlus to read excel sheets and load the data into datatable to perform further operations and then save back the modified data to the excel file.
The below c
if you want to know current cell format, why dont you use ExcelNumberFormat class?
var style=oSheet.Cells[i, j].style; string format=style.Numberformat.Format;
This will give you current cell format, i.e, "YYYY-MM-ffffdd" , "%#.##", and so on.