Click or drag to resize
HelpersExtensionsTryReadXml Method
Tries to read xml and load the data from it to the DataSet via standard .NET method. If the load fails, it removes all the forbidden whitespace charactes and tries it again.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static void TryReadXml(
	this DataSet ds,
	string xml
)

Parameters

ds
Type: System.DataDataSet
DataSet to fill
xml
Type: SystemString
XML with data

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataSet. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also