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

Free Support Forum - aspose.com

Any trial limitation?

Hi, the code below shows up just the 30 lines, the 31º not… Any limitation?

wb.Worksheets[0].Cells.ExportDataTable(0, 0, wb.Worksheets[0].Cells.MaxDataRow, wb.Worksheets[0].Cells.MaxDataColumn);



Thanks for considering Aspose.

Well, for your case, there is not any limitation enforcement.

I think you may change your code to:

wb.Worksheets[0].Cells.ExportDataTable(0, 0, wb.Worksheets[0].Cells.MaxDataRow+1, wb.Worksheets[0].Cells.MaxDataColumn+1);

Since MaxDataRow and MaxDataColumn returns the maximum row/column index only and the index starts from 0 where you should put total no of row / columns you want to export, so you need to add 1.

Thank you.