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

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

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
cultureName
Type: SystemString
Name of the culture to use for parsing double and datetime values

Return Value

Type: DataSet
See Also