ComponentOne DataObjects for .NET
ReadXml(String) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataSet Class > ReadXml Method : ReadXml(String) Method
The file name (including the path) from which to read.
Reads XML data into the data set.
Syntax
'Declaration
 
Public Overloads Sub ReadXml( _
   ByVal fileName As System.String _
) 
public void ReadXml( 
   System.string fileName
)

Parameters

fileName
The file name (including the path) from which to read.
Remarks
The ReadXml method is used to restore the data previously saved by WriteXml(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
WriteXml(String) Method