3Data Binding

IN THIS CHAPTER, we look at the declarative data sources and the new data-bound controls introduced with ASP.NET 2.0. Of all the features introduced in this release, declarative data binding undoubtedly has the most impact on developers. Instead of programmatically populating controls with queries issued through ADO.NET, data source controls provide a way of populating controls with data declaratively. The end result is that developers end up writing much less code to accomplish the same tasks. This model is flexible enough to support many different types of data access as well, ranging from standard parameterized SQL statements to stored procedure calls to full-blown object-oriented data access layers.

Most of the samples shown ...

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

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