Loads an XML document into a
DataSet.
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 )
Parameters
- xmlDocument
- Type:
System.Xml XmlDocument
The XML document.
- schema
- Type:
System String
The corresponding schema text.
Return Value
A constructed DataSet.Remarks
myBindingSource.DataSource = DocumentWrangler.LoadDataSet(myXml, myXmlSchema); myBindingSource.DataMember = nodeName; myDataGridView.DataSource = myBindingSource;
See Also