Environment versions
Network:
Windows 2003 Server
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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only