We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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?


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.