Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlDataDocument.Load Method

Loads the XmlDataDocument using the specified data source and synchronizes the DataSet with the loaded data.

Name Description
XmlDataDocument.Load (Stream) Loads the XmlDataDocument from the specified stream.
XmlDataDocument.Load (String) Loads the XmlDataDocument using the specified URL.
XmlDataDocument.Load (TextReader) Loads the XmlDataDocument from the specified TextReader.
XmlDataDocument.Load (XmlReader) Loads the XmlDataDocument from the specified XmlReader.

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.

XmlDataDocument does not support creating entity references. If the data includes entity references, the Load method resolves and expands any entity references. However, if you are using the Load overload that takes a XmlReader as an argument, you must specify an XmlReader that can resolve entities.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft