Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataset to XML String
Message
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
00668309
Message ID:
00668320
Views:
25
The WriteXml method has the advantage of setting the XmlWriteMode enumeration but in this case the default IgnoreSchema enumeration is used which is what the GetXml method uses. The end result is the same.

>>You need to create a StringWriter then use the ToString method avaiable on all .NET objects.
>
>Hi, Cathi.
>
>Is there any advantage using the StringWriter approach over the GetXML() method of the DataSet class?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform