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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Export more than 65532 rows

Thread ID:





127432 Nov 15,2016 05:41 PM UTC Nov 16,2016 10:59 AM UTC ASP.NET Web Forms 1
Tags: XlsIO
gaurav singh
Asked On November 15, 2016 05:41 PM UTC

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?

Abirami Varadharajan [Syncfusion]
Replied On 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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon