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.

MS excel generated files

Thread ID:

Created:

Updated:

Platform:

Replies:

74133 May 30,2008 11:45 AM Jun 2,2008 12:44 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
Moihlobudi Moabelo
Asked On May 30, 2008 11:45 AM

It looks like XlsIO cannot be used to open and read files created in MS Excel, because I get a "cannot open file storage" error when I try to do this...
Here is the line of code that I use:
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
IWorkbook workbook = excelEngine.Excel.Workbooks.Open(Server.MapPath("\\XXXXX.xls"));
IWorksheet sheet =workbook.Worksheets[0];
Response.Write(sheet.Range["A1"].Text);
Am I going wrong somewhere? Please help.


Yavanaarasi G [Syncfusion]
Replied On June 2, 2008 12:44 AM

Hi Moihlobudi,

Thank you for your interest in Syncfusion products.

You have already created a direct trac incident regarding this issue. Could you please follow up direct trac incident?

Regards,
G.Yavana


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.

;