Click or drag to resize
DataHelperReadDataSetFromXml Method (DataSet, XmlReader, DataHelperActionCallback, Object, String, ListString)
Reads the DataSet from given XML reader.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static DataSet ReadDataSetFromXml(
	DataSet ds,
	XmlReader xml,
	DataHelperActionCallback rowCallback,
	Object[] parameters,
	string rootNode,
	out List<string> updatedColumns
)

Parameters

ds
Type: System.DataDataSet
DataSet to read
xml
Type: System.XmlXmlReader
XML to read
rowCallback
Type: CMS.HelpersDataHelperActionCallback
Callback action which should be called after each row is loaded. The DataSet, DataTable a DataRow are added as additional parameters
parameters
Type: SystemObject
Callback parameters
rootNode
Type: SystemString
Name of the root node to check (if null not check is done)
updatedColumns
Type: System.Collections.GenericListString
List of columns present in the xml (not all columns from DataSet have to be also in containing xml), this list is needed for update mode in CMSHierarchyHelper

Return Value

Type: DataSet
See Also