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 ...

Get Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition now with O’Reilly online learning.

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