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.

Bug in RW Excel Save method

Thread ID:

Created:

Updated:

Platform:

Replies:

19814 Oct 4,2004 07:54 PM Oct 5,2004 05:37 AM Windows Forms 1
loading
Tags: XlsIO
Vu Dang Quang
Asked On October 4, 2004 07:54 PM

Hi! Team developer. I found a bug in your component and I''ve raised it for you. This bug is: The following code will show detail. ------------------------------------- IWorkbook myWorkBook = ExcelUtils.Open(ExcelFile); IWorksheet sheet = myWorkBook.Worksheets[0]; int iMaxCol=sheet.Range.Columns.Length;//for example iMaxCol is 7 int iMaxRow=sheet.Range.Rows.Length; //for example iMaxRow is 10 myWorkBook.Save(); myWorkBook.Close(); //After save I''ve try open this file again IWorkbook myWorkBook = ExcelUtils.Open(ExcelFile); IWorksheet sheet = myWorkBook.Worksheets[0]; int iMaxCol=sheet.Range.Columns.Length; //iMaxCol variable automatic increase 1. The value is 8 int iMaxRow=sheet.Range.Rows.Length; //iMaxRow variable automatic increase 1. The value is 11 myWorkBook.Close(); Notes: I''ve using trial version 2.1.0.9. Thanks vdquang

Administrator [Syncfusion]
Replied On October 5, 2004 05:37 AM

Hi vdquang , Thanks for reporting this issue and providing the code snippets. I was able to see the problem in the latest version and have created a bug report with the development team. We will try to get this issue fixed at the earliest. We really appreciate your feedback. Thank you for your patience. Best regards, Stephen. >Hi! Team developer. > >I found a bug in your component and I''ve raised it for you. > >This bug is: >The following code will show detail. > >------------------------------------- > >IWorkbook myWorkBook = ExcelUtils.Open(ExcelFile); > IWorksheet sheet = myWorkBook.Worksheets[0]; > > int iMaxCol=sheet.Range.Columns.Length;//for example iMaxCol is 7 > int iMaxRow=sheet.Range.Rows.Length; //for example iMaxRow is 10 > > myWorkBook.Save(); > myWorkBook.Close(); > > //After save I''ve try open this file again > IWorkbook myWorkBook = ExcelUtils.Open(ExcelFile); > IWorksheet sheet = myWorkBook.Worksheets[0]; > > int iMaxCol=sheet.Range.Columns.Length; //iMaxCol variable automatic increase 1. The value is 8 > int iMaxRow=sheet.Range.Rows.Length; //iMaxRow variable automatic increase 1. The value is 11 > >myWorkBook.Close(); > >Notes: I''ve using trial version 2.1.0.9. > >Thanks >vdquang > >

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.

;