DataHelper.ReadDataSetFromXml Method (DataSet, XmlReader, DataHelper.ActionCallback,Object[], String) |
Reads the DataSet from given XML reader (expects "NewDataSet" as a root node).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntaxpublic static DataSet ReadDataSetFromXml(
DataSet ds,
XmlReader xml,
DataHelper. ActionCallback rowCallback,
Object[] parameters,
string rootNode = "NewDataSet"
)
Parameters
- ds
- Type: System.Data.DataSet
DataSet to read - xml
- Type: System.Xml.XmlReader
XML to read - rowCallback
- Type: CMS.Helpers.DataHelper.ActionCallback
Callback action which should be called after each row is loaded. The DataSet, DataTable a DataRow are added as additional parameters - parameters
- Type:System.Object[]
Callback parameters - rootNode (Optional)
- Type: System.String
Name of the root node to check (if null not check is done)
Return Value
Type:
DataSet
See Also