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.
Unfortunately, activation email could not send to your email. Please try again.

Loading CSV File Takes a While

Thread ID:

Created:

Updated:

Platform:

Replies:

79499 Feb 12,2009 12:15 AM Feb 12,2009 08:00 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
Administrator [Syncfusion]
Asked On February 12, 2009 12:15 AM

I have a 6 MB csv file that takes about 60 seconds for the Workbooks.Open method to execute. I only want to display the first 10 rows to the user. Is there a quick and dirty way I can achieve this without loading the entire file into the object?

ExcelEngine excel = new ExcelEngine();
IApplication app = excel.Excel;

IWorkbook workbook = app.Workbooks.Open(pFilePath,",");

Thanks,
Josh


Geetha M [Syncfusion]
Replied On February 12, 2009 08:00 AM

Hi Josh,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the problem. I tried opening a csv file of size 6 MB and it took less than 17 seconds in v7.1.0.21. Could you please let me know the version number you are currently using?

Regards,
Geetha


CONFIRMATION

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.

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.

;