Synchronizing DataSet Objects with XML

Access and Manipulate XML Data: Transform DataSet data into XML data.

One area in which the .NET Framework's use of XML is especially innovative is in connecting databases with XML. You already know that ADO.NET provides a complete in-memory representation of the structure and data of a relational database through its DataSet object. What the System.Xml namespace adds to this picture is the capability to automatically synchronize a DataSet object with an equivalent XML file. In this section of the chapter, you'll learn about the classes and techniques that make this synchronization possible.

The XmlDataDocument Class

The XmlDocument class is useful for working with XML via the DOM, but it's not a data-enabled ...

Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework 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.