O'Reilly logo

Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition by David Sceppa

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

Introducing Data Source Controls

ASP.NET 2.0 includes a series of data source controls that all derive from the same base DataSourceControl control. These controls, shown in the following list, are designed to help you retrieve, display, and interact with different types of data:

  • The SqlDataSource control uses ADO.NET to connect to your database, execute queries, retrieve data, and submit changes.

  • The AccessDataSource control derives from the SqlDataSource control and is designed to work with Access databases.

  • The ObjectDataSource control is designed for developers who want to work with collections of objects rather than DataSets and DataReaders, allowing you to supply methods to select, insert, update, and delete objects.

  • The XmlDataSource control ...

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