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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.