Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a DataSet
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Refreshing a DataSet
Divers
Thread ID:
00702106
Message ID:
00702106
Vues:
55
I have a small table in SQL Server which has an Identity field.

I retreive this table into a data adapter and fill a dataset from it. This data set is then bound to a data grid. Up to this point, everything is OK.

I have then added a Save button in which I update the data adapter (dataadapter.update(dataset, ...)).

My question is the following:
If I add new rows to my datagrid, what is the best method to update the grid to have it show the value of the identity field after I have clicked the save button?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform