Using a DataSet as XML
The final section for today deals with how you can simultaneously manipulate a DataSet both using the objects internal to the DataSet and as XML using the Document Object Model (DOM). It is appropriate that we finish today's lesson with this dual programming model because it represents perhaps the highest point of integration between the DataSet and XML.
The class that provides the integration between the DataSet and the DOM is the XmlDataDocument, found in the System.Xml namespace. The XmlDataDocument is derived from the XmlDocument class and as such contains the methods and properties used to represent an XML document in memory using the DOM.
Note
See the online documentation for more information on the members of the ...
Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.