Hi ,
I am trying to export data to excel but i am not able to apply date formatting to it.
Pls help...
code
if (cIndex == 0) { Cell cell = new Cell() { CellReference = ExcelHelper.ColumnCaption.Instance.Get((Convert.ToInt32((UInt32)rowIndex) - 2), cIndex), DataType = CellValues.String }; CellValue cellValue = new CellValue(); cellValue.Text = data.Rows[rIndex][cIndex].ToString(); cell.Append(cellValue); row.Append(cell); }