Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Row
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
01459084
Message ID:
01459089
Views:
55
What's the right way to remove rows from a DataSet????

Don't remove items from a collection you're enumerating through.

Use a counter and go backwards... for instance... for (int Ctr=Table.Row.Count-1; Ctr >= 0; Ctr--)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform