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.

Same code Imports different rows using XlsIo ver 4.1 and ver 6.3

Thread ID:

Created:

Updated:

Platform:

Replies:

88775 Aug 11,2009 04:38 PM Aug 12,2009 01:29 AM ASP.NET Web Forms (Classic) 2
loading
Tags: XlsIO
Phani N
Asked On August 11, 2009 04:38 PM

I am trying to use version 6.3 of Syncfusion and my existing code in 4.1 is behaving differently in 6.3.

I have attached the solutions I have created using 4.1 and 6.3 using the exact same excel handler logic and also the excel file I am trying to import. 4.1 imports 3 rows whereas 6.3 imports only 2. Am I doing anything wrong? Should I be changing the code for 6.3?

Thanks




Import Discrepency_54c0377d.renameToZip

Phani N
Replied On August 11, 2009 04:40 PM

I guess the upload failed in the last post. trying again.



Import Discrepency_8b061e2f.zip

Vijesh Narayanan [Syncfusion]
Replied On August 12, 2009 01:29 AM

Hi Phani,

Thank you for using Essential XlsIO.

You just have to make a small modification, as given in the following code snippet, to your code to get the desired output.



dt = sheet.ExportDataTable(
sheet.Range[OFFSET, 1, sheet.UsedRange.Rows.GetUpperBound(0)+1,
sheet.UsedRange.Columns.GetUpperBound(0)+1],
ExcelExportDataTableOptions.ColumnNames |
ExcelExportDataTableOptions.ComputedFormulaValues);



Please try this and let me know if you have any further questions.

Regards,
Vijesh

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.

;