Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataSet.ReadXML() appends data
Message
De
14/09/2010 10:56:09
 
 
À
14/09/2010 09:43:09
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01481109
Message ID:
01481122
Vues:
55
This message has been marked as the solution to the initial question of the thread.
>I was surprise to see that DataSet.ReadXML() appends the data. In order to have it clean, when I want to use the same variable, I have to reset the dataset by defined it to New DataSet(). Is there a parameter or a way to avoid ReadXML() to append?

I don't think so, but you could always do DataSet.Clear() first, which gets rid of all existing data.

~~Bonnie
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