DataTableExtensions.ExportXml(this DataTable dataTable, bool changedOnly) Method
.NET Standard 2.x
Exports all rows or only the changed rows from the DataTable to a Plain Xml string.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public static string ExportXml(this DataTable dataTable, bool changedOnly)
Parameters
changedOnly
System.Boolean
A boolean
specifying the changing flag.
True
: to export the changed rows only (and all rows in the delete buffer).
False
(default): to export all rows.
Returns
System.String
Returns the XML string.
Reference Plain XML.
Examples
Applies to
.NET Standard
2.x