Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting multiple rows from a DataGrid
Message
From
12/02/2004 12:15:56
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00876431
Message ID:
00876729
Views:
14
>Tried that too. Same result. It is almost as if deleting a row then marks all other rows as not selected anymore.

I don't know if that's the case, but here's something else to try. Put all the rows in a DataRow array and then have another loop that iterates through the array and delete them there.

~~Bonnie

>
>Thanks,
>
>Vic
>
>>Try iterating backwards and deleting from the bottom up instead of from the top down.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform