Structuring DataSets with Schema

As mentioned in the introduction, this chapter isn't just about XML schemas and XSD documents. This chapter is about how XSD documents relate to DataSets and the additional power and features you can enable when combining XML schemas with the power and flexibility of DataSets.

Defining Tables and Columns Using XML Schema

The first thing we need to do is figure out how to create XSD documents that will describe the data structure of a DataSet. When you describe XML data, you can very easily describe semi-structured, hierarchical data that might or might not have a consistent format. However, with a DataSet, you are talking about a consistent format of tables, rows, columns, relationships, keys and constraints. ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.