ADAdministrator Syncfusion Team June 24, 2005 08:31 AM
Is your question how do you include column header text in your excel file?
If so, you have to treat the headers as an extra row in excel since excel does not support column headers directly.
So, when you start writing out the grid, first loop through the grid.TableDescriptor.VisibleColumns collection and write the HeaderText for each column to the first row in excel. Then start looping through the grid rows, but now when you set a value into excel, you have to add 1 to the row (so to offset the extra row that excel has that is not in the grid.)