This documentation is archived and is not being maintained.

XmlDataDocument.Load Method (String)

Loads the XmlDataDocument using the specified URL.

Namespace: System.Xml
Assembly: System.Data (in system.data.dll)

public override void Load (
	string filename
)
public void Load (
	String filename
)
public override function Load (
	filename : String
)
Not applicable.

Parameters

filename

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.

NoteNote:

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: