Exposing XML and XML Schema from a DataSet

As you have already learned, DataSets contain tables, and each table contains columns. A set of values for the columns in the tables can be added to a DataSet (also known as a row). This can be described more simply this way: A DataSet contains structure and data. The structure is defined by the tables and columns defined in the DataSet. The data is defined by the rows (or values) in the DataSet.

XML also adheres to this concept of structure and data. The integration between DataSets and XML revolve around seamlessly converting the structure and data between these two formats. Previously, we showed an example of using a DataSet and iterating through the DataSet to print out the rows in the DataSet to ...

Get Visual Basic® .NET by Example 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.