Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataset has been lost
Message
De
03/01/2007 13:29:59
 
 
À
03/01/2007 12:48:24
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01181685
Message ID:
01181897
Vues:
14
So, you do an UPDATE and then do a SELECT to re-populate your DataSet with the newly updated data? I suppose that that's an ok methodology (in case there were other updates to the existing data), but we don't currently do that in our existing app. We *may* have to re-think that for the new app we're working on, but at the moment I've not thought much about it.

~~Bonnie




>>I don't see how the UPDATE has anything to do with it ... you're doing a DataAdapter.Fill() so it should be a SELECT that should be getting executed.
>
>I have always done my updates like that. How are you doing it?
>
>Once the oDataAdapter.SelectCommand = oCommand is done, it need to be processed. Isn't oDataAdapter.Fill(oDataSet) the proper way of doing it?
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform