Working with XML and ADO.NET

Chapter 5 introduced working with XML and ADO.NET. To refresh your memory, you learned that ADO.NET allows you to populate a DataSet from an XML document. You can read XML data into a DataSet, use an XML schema document to define the structure of the DataSet, or a combination of the two. Also in Chapter 5, you learned how to read an XML schema and XML data from files. To do this, you can invoke the ReadXml and ReadXmlSchema methods of a DataSet or use an XMLDataDocument object and invoke its Load and LoadXML methods. You also learned how an XMLDataDocument and DataSet synchronize, and you were briefly introduced to writing DataSet contents as XML and writing and retrieving XML Schema information. Here, we’ll look at ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.