How To Set Cell Data Type
问题 I am trying to set data type of cell, but it seems that's impossible to do with EPPlus. If I place a number as value in cell, I get General data type in exported Excel file. If set NumberFormat of Cells, for example: workSheet.Cells[range].Style.Numberformat.Format = "mm/dd/yyyy hh:mm:ss"; Then I still will not get Date or Time. Exported Excel file will show cells as Custom data type. I can get General or Custom data types only. I want to set Cells' data type to Time, but I can't. The problem