Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

DataSet.WriteXml Method

Writes XML data, and optionally the schema, from the DataSet.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method WriteXml(Stream) Writes the current data for the DataSet using the specified System.IO.Stream.
Public method WriteXml(String) Writes the current data for the DataSet to the specified file.
Public method WriteXml(TextWriter) Writes the current data for the DataSet using the specified TextWriter.
Public method WriteXml(XmlWriter) Writes the current data for the DataSet to the specified XmlWriter.
Public method WriteXml(Stream, XmlWriteMode) Writes the current data, and optionally the schema, for the DataSet using the specified System.IO.Stream and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Public method WriteXml(String, XmlWriteMode) Writes the current data, and optionally the schema, for the DataSet to the specified file using the specified XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Public method WriteXml(TextWriter, XmlWriteMode) Writes the current data, and optionally the schema, for the DataSet using the specified TextWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Public method WriteXml(XmlWriter, XmlWriteMode) Writes the current data, and optionally the schema, for the DataSet using the specified XmlWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.