9.6. ADO.NET Versus ADO Disconnected Model

You've used the ADO disconnected Recordset class as a universal data representation mechanism in the classic ADO API. In addition to offline manipulation of resultsets and cross-component marshaling, you've also used it to populate databound controls. Let's compare this to the equivalent functionality in ADO.NET.

9.6.1. Class Equivalents

The disconnected model in ADO.NET is not hidden behind the facade of a client-side cursor but instead is exposed directly through the DataSet class. ADO's client cursor Recordset has quite a few things in common with a single DataTable in an ADO.NET DataSet. Both the DataSet/DataTable and the Recordset are createable classes that can expose tabular data. ADO programmers ...

Get Essential ADO.NET now with the O’Reilly learning platform.

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