Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in saving after deleting records.
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Error in saving after deleting records.
Miscellaneous
Thread ID:
01169712
Message ID:
01169712
Views:
50
After deleting records then trying to save dataset, it gives me this error:
Deleted row information cannot be accessed through the row.
Here is the code using Infragistics UltraGrid control:
RowsCollection allRows;
allRows = this.grdDepartments.Rows;
if (allRows.Count > 0) {
   for (int i = 0; i < allRows.Count; i++) {
       UltraGridRow row = allRows[i];
       if ((bool)row.Cells["DeleteMarker"].Value == true)
           row.Delete(false);
   }
}

this.oMscDepartments.SaveDataSet();
The deletion process have no problem because the error only show up when SaveDataSet() method is called.

Please assist...
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Next
Reply
Map
View

Click here to load this message in the networking platform