Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML and DataSets
Message
De
14/10/2004 09:20:24
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00951360
Message ID:
00951372
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform