O'Reilly logo

Special Edition Using® Microsoft® ASP.NET by Richard Leinecker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The DataSet Object

The DataSet object is the core component of ADO.NET. It is best described as a collection of disconnected recordsets that contain a hierarchy of table, row, and column data. A major difference between DataSet objects and a group of disconnected recordsets is that the DataSet keeps track of the relationships between tables internally. With a DataSet, the information requested is cached on the client and disconnected from the server. As a result, the DataSet has no knowledge of its data sources, so separate objects must pass information between the DataSet and the data source. Figure 9.5 graphically illustrates the hierarchy of information for the DataSet and its internal relationships.

Figure 9.5. DataSet hierarchy.

Using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required