Export (0) Print
Expand All

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 _
)
[C#]
public override void Load(
 string filename
);
[C++]
public: void Load(
 String* filename
);
[JScript]
public override function Load(
   filename : String
);

Parameters

filename
URL for the file containing the XML document to load.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft