Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSet.ReadXML() appends data
Message
From
14/09/2010 10:56:09
 
 
To
14/09/2010 09:43:09
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01481109
Message ID:
01481122
Views:
56
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform