Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML and DataSets
Message
From
14/10/2004 09:20:24
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00951360
Message ID:
00951372
Views:
8
Eric,

>What is the fastest way to read an XML string into a DataSet?

Use a StringReader:
	StringReader sr = new StringReader(XML);
	ds.ReadXml(sr, XmlReadMode.InferSchema);
	ds.AcceptChanges();
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform