I am using VS2008,ASP.net,C#.net.
I have a web applicaion which uses NPOI dll to export to excel 2003. How do I display a number with thousand separator in Indian style(
with NPOI try this magic to format with Indian style:
ICell cell = row.GetCell(0); cell.SetCellValue(1234567.89d); IDataFormat dataFormatCustom = workbook.CreateDataFormat(); cell.CellStyle.DataFormat = dataFormatCustom.GetFormat("[>=10000000]##\\,##\\,##\\,##0;[>=100000] ##\\,##\\,##0;##,##0.00");