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: 11.0.0
Syntax
C#
public static DataSet ReadDataSetFromXml(
	DataSet ds,
	XmlReader xml,
	DataHelperActionCallback rowCallback,
	Object[] parameters,
	string rootNode,
	out List<string> updatedColumns,
	string cultureName = null
)

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 (Optional)
Type: SystemString
Name of the culture to use for parsing double, decimal and datetime values. English culture is used if not specified

Return Value

Type: DataSet
See Also