ComponentOne DataObjects for .NET
WriteXml(XmlTextWriter) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataSet Class > WriteXml Method : WriteXml(XmlTextWriter) Method
The XmlReader to which to write.
Writes XML data from the data set.
Syntax
'Declaration
 
Public Overloads Sub WriteXml( _
   ByVal writer As XmlTextWriter _
) 
public void WriteXml( 
   XmlTextWriter writer
)

Parameters

writer
The XmlReader to which to write.
Remarks
The WriteXml method is used to save the data in an XML form so it can be later restored with ReadXml(String). Together, these methods allow to save the whole data contents of a C1DataSet and restore it later, for example, to save work when no database connection is available to save it in the database, and restore it and send to the database for update when the connection becomes available.
See Also

Reference

C1DataSet Class
C1DataSet Members
Overload List
ReadXml(String) Method