This documentation is archived and is not being maintained.

XmlDataDocument.Load Method (String)

.NET Framework 1.1

Loads the XmlDataDocument using the specified URL.

[Visual Basic]
Overrides Overloads Public Sub Load( _
   ByVal filename As String _
public override void Load(
 string filename
public: void Load(
 String* filename
public override function Load(
   filename : String


URL for the file containing the XML document to load.


XmlDataDocument does not support creating entity references. If the data includes entity references, the Load method resolves and expands any entity references.

Note   In order to view the XML data relationally, you must first specify a schema to use for data mapping. This can be done either by calling the ReadXmlSchema method, or by creating the tables and columns within the DataSet manually. This step must be done before calling Load.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XmlDataDocument Class | XmlDataDocument Members | System.Xml Namespace | XmlDataDocument.Load Overload List