Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataTable/DataSet Question
Message
 
À
16/04/2007 22:15:23
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01216542
Message ID:
01216795
Vues:
19
The question is, what do I do with this DataTable?

My query code returns a DataTable, which I can then pass into the UpdateData
procedure.

Can I somehow 'attach' the data table to the DataAdapter?





>The dataadapter has properties for Select, Insert, Update, delete;
>
>just create you update command:
>
>
>dataadapter.UpdateCommand = new sqlCommand("UPDATE table.....blah...blah...blah", connection);
>
>
>then simply call
>
>dataadapter.Update(your dataset);
>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform