Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

open xml export to excel date formatting issue

$
0
0

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);                    }

Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>