Export to excel vs databing

Hi Aspose Team,

I'm doing some standard databing with the grid.
I use sheet.CreateAutoGeneratedColumns() so that the worksheet do not contains column headers.

When I export the worksheet to Excel, the columns headers are not present.

Is it possible to add them any how?

Hi,

Thanks for considering Aspose.

Please use WebWorksheet.EnableCreateBindColumnHeader property to set to true/false for your need. For further reference, please check the source code of Data Binding demos from our featured Demos: http://www.aspose.com/Products/Aspose.Grid/Demos/

Thank you.

it works perfectly.

thanks!