Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid
Message
From
05/05/2003 11:49:25
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
DataGrid
Miscellaneous
Thread ID:
00784983
Message ID:
00784983
Views:
55
I have a problem with a DataGrid, when i insert a new line by write a character in the last empty row and if i keep the cursor in the cell i started editing and call the Clear Method of the DataTable i get an error, that i don't know how that handle.

I know why this happen, when i insert a row i don't move the cursor to another row the row isn't updated, so if i am in the 3rd row and call the Clear Method the CurrencyManager kept a reference to the 3rd row and at this point it does not exist and the Commit method of the DataGridColumnStyle is called and i get an error that says that i don't have reference to an object.

how can i solve this problem?

If there is something that's not clear please let me know it.
Reply
Map
View

Click here to load this message in the networking platform