Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting item
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01401166
Message ID:
01401300
Views:
28
>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?

No, I call this method to delete a row from a grid on the highlighted item. I only press the Delete Menu item once.

However, the biz object actually deletes the record from the table. Perhaps I should reverse the logic and first delete from the DataTable?

I can show the code in Biz Object once I got my computer working - it failed yesterday and now would not want to boot up at all.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform