Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating Multiple Tables Using a Single Data Adaptor
Message
De
25/11/2004 21:51:12
 
 
À
25/11/2004 20:14:42
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB.NET 1.1
Database:
MS SQL Server
Divers
Thread ID:
00964583
Message ID:
00964812
Vues:
8
Well, as I said, it depends on how you plan to update your data. We use Stored Procs for everything and so we don't use the DataAdapter.Update() method, but instead send a bunch of parameters to a Stored Proc and use the SqlCommand.ExecuteNonQuery().

How have you structured your DataAccess layer? Do you plan to use the DataAdapter.Update() method for updating your backend data?

~~Bonnie



>Bonnie,
>
>From your explanation I take it that it would be more work and prone to more errors using a single DataAdaptor. I like to keep things simple... especially the debugging process! So I guess I'll just have to make do with individual DataAdaptors instead.
>
>Thanx! a lot 8 )
>
>Martin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform