Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating record in a dataset
Message
De
25/11/2002 21:43:13
Larry Santos
Local Data System
Philippines
 
 
À
22/11/2002 16:44:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00726028
Message ID:
00726784
Vues:
19
Hi,
did u try to fill again in DataAdapter ur dataset?


>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform