Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating record in a dataset
Message
De
22/11/2002 16:44:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Updating record in a dataset
Divers
Thread ID:
00726028
Message ID:
00726028
Vues:
50
I'm trying to update a record in a dataset using C#. I have the record I need, but can't seem to get the update to work.

I am doing:
ds.Tables[0].Rows[0].ItemArray[0] = "My Value";
DataAdapter.Update(ds, ds.Tables[0].ToString());
ds.Tables[0].AcceptChanges();

I get no errors but I also do not see the new value in my table. Is there a simple example of updating a record in a Dataset?

Thanks,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform