AD
Administrator
Syncfusion Team
July 21, 2005 11:35 AM UTC
If you want to pass the Format property to excel, then I think you woul dneed to set the .NumberFormat as well.
sheet.Range[i+1,j+1].NumberFormat = grid.TableModel[i, j].Format;
Here is a link to a sample using a GridDataBoundGrid that works ok with formats.
http://www.syncfusion.com/Support/user/uploads/GDBG_WriteExcel_10516b47.zip