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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static DataSet ReadDataSetFromXml(
	DataSet ds,
	XmlReader xml,
	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
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