DocumentWrangler LoadDataSet Method CleanCode C# Libraries v1.2.03 API
Loads an XML document into a OnlineDataSet.

Namespace: CleanCode.Xml
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public static DataSet LoadDataSet(
	XmlDocument xmlDocument,
	string schema
)

Return Value

A constructed DataSet.
Remarks

This convenience method allows you to bind XML to a DataGridView with this simple code fragment:
myBindingSource.DataSource =
    DocumentWrangler.LoadDataSet(myXml, myXmlSchema);
myBindingSource.DataMember = nodeName;
myDataGridView.DataSource = myBindingSource;
See Also