Returns the data contained in the DataSet formatted as XML.
A string which contains the XML representation of the data in the current DataSet.
Calling this method is identical to invoking the DataSet.WriteXml method with XmlWriteMode set to IgnoreSchema.Note:Using GetXml in order to save the XML data into a file has more overhead than calling DataSet.WriteXml directly.
Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0