Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid
Message
De
05/05/2003 11:49:25
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
DataGrid
Divers
Thread ID:
00784983
Message ID:
00784983
Vues:
56
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform