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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Delete Multiple Selected Rows from DataGrid.

Thread ID:





1434 Oct 29,2002 01:09 PM UTC Nov 1,2002 06:25 AM UTC WinForms 1
Tags: FAQ
Ramesh Sreedhar
Asked On October 29, 2002 01:09 PM UTC

I am trying to Delete multiple selected rows from a DataGrid. I used the CurrencyManager and BindingContext Objects to Ctype the DataGrid.Datasource into a DataView. Then I am trying to scroll through my DataGrid and by using the IsSelected() method find and Delete the Selected Rows by using the RemoveAt method of the CTyped DataView. But once it removes a row, all the other Selected Rows in the DataGrid become DeSelected and remains there without being deleted. Can u help me with this.

Heike Brackmann
Replied On November 1, 2002 06:25 AM UTC

I had the same problem. Now I save the selected Rows (the specific information) in a own type and then go through my list, deleting the rows. Hope this helps


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

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

Live Chat Icon For mobile
Live Chat Icon