Dim dtExport As DataTable = sheet.ExportDataTable(9, 1, RowsofData, colend, ExcelExportDataTableOptions.ColumnNames)
I want the column names and am getting this error of more columns (Column1, column2, etc).
If I don''t export in Columnnames, it is fine. The error only occurs when I use ExcelExportDataTableOptions.ColumnNames.
Can you try and see if you can replicate this?
>Hi Mia,
I am afraid. I was unable to reproduce the issue. I used the following test sample to test your issue.
Sample :
Usedrange.zip
Would it be possible to provide me your sample xls file in which you are able to reproduce the issue? It will help me in investigating further on this issue.
Thanks,
Melba