My question is probably stupid, but I can not find a solution on my own. I am having a problem with ( ExcelPackage ). Is there a way to set the data type of an Excel cell? And the cell.DataType property is a string that allows you to use DataTypes? Basically I need to set numerical formatting for specific columns / cells.
Thank you for your time.
Here is a forum post that seems to answer your question: http://excelpackage.codeplex.com/discussions/50205?ProjectName=excelpackage
, Excel , , , . , .
, , ("") . :
xlPackage.Workbook.Worksheets[1].Cell(contRow, contCol).Value = "08 ";
, (contRow, contCol) . . , .
contRow
contCol