Workbook workbook = new Workbook();
workbook.LoadData(fileName);
Worksheet worksheet = workbook.Worksheets[0];
DataTable dataTable = new DataTable();
dataTable = worksheet.Cells.ExportDataTable(0, 0, worksheet.Cells.MaxRow + 1, worksheet.Cells.MaxColumn + 1);
workbook.Worksheets[0].Cells.ImportDataTable(dataTable, true, "A1");
dataTable.Rows[0].Delete();
dataTable.AcceptChanges();
In the above code im getting error when i import more than 30000 rows .please advice us how to proceed.
workbook.Worksheets[0].Cells.ImportDataTable(dataTable, true, "A1"); this line exactly throws an error and if the rows count is 30000 then it works fine but if its more than 30000 rows then this error (Aspose.Cells cannot shift nonblank cell off the worksheet) will throw.kinldy suggest me.we are using aspose 4.0 version.