Marco del frate,
We have checked
the reported scenario on our end. By default, hidden rows will not be exported
to the data table while using the ExportDataTable method. However, you can overcome
this by using the ExportHiddenRows as shown below,
DataTable customersTable
= worksheet.ExportDataTable(worksheet.UsedRange,
ExcelExportDataTableOptions.ExportHiddenRows);
|
If this post is helpful,
please consider Accepting it as the solution so that other members can locate
it more quickly.