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


Thread ID:





92153 Dec 23,2009 11:35 AM UTC Dec 23,2009 12:55 PM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Sheila Mullen
Asked On December 23, 2009 11:35 AM UTC

I am currently using an old version of XlsIO dlls (4.102) and was trying to find documentation on the API.

I am trying to delete a row from excel, but when I use IWorksheet.DeleteRow(int index) this appears to clear the row contents rather actually delete the row from the spreadsheet.
Am I using the wrong method to delete the row?

Lokesh R [Syncfusion]
Replied On December 23, 2009 12:55 PM UTC

Hi Sheila,

Thank you for your interest on Syncfusion Products.

The statement IWorksheet.DeleteRow(int index,int count)
is actually meant for deleting the rows.

The Delete Row method contains two arguments.

Index-->Position of the row to be deleted

count--->no of rows to be deleted from the mentioned index

since the excel sheet will automatically shifts the contents once the rows get deleted.so, you may feel that its just clearing the contents.

Let me know if you have any queries.



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

or the page will be automatically redirected to 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