We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Export more than 65532 rows

I want to export more than 1 lacs row from datatable to excel. But when i exported my datatable row count is 111255 but after exporting using  
worksheet.ImportDataTable(dtExport, True, 1, 1, True) method, it's shows only 65536 row in excel.
 Is there any limitation? 
What to do if i have to export more than 1 lacs records?

1 Reply

AV Abirami Varadharajan Syncfusion Team November 16, 2016 10:59 AM UTC

Hi Gaurav, 
 
Thank you for contacting Syncfusion support. 
 
The maximum row limit in Microsoft Excel (97 to 2003) is 65,536. Whereas, the later versions start from Excel 2007 are limited to 1,048,576 rows. So, we recommend you to set the DefaultVersion of the application as mentioned in the below code snippet. 
 
Code Example: 
IWorkbook workbook = application.Workbooks.Create(1);
workbook.Version = ExcelVersion.Excel2013;
 
 
Kindly refer the documentation from the following link to know more about row and column limits for different MS Excel versions. 
 
 
Please let us know if you have any concerns. 
 
Regards, 
Abirami. 


Loader.
Live Chat Icon For mobile
Up arrow icon