Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting item
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01401166
Message ID:
01401296
Vues:
32
On the MSDN forum a similar problem was manifested in some code that performed a delete on a DataTable inside a foreach loop of the DataRows of the DataTable. The suggestion there was to store the DataRow indices that you want to delete into an array and once you have chosen your targets and lleft the loop scope delete them outside the loop all at one time by looping the array.

Is your code called in a loop?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform