Chapter 10. Data Controls

The previous two chapters demonstrated the ease of working with data in ASP.NET. This chapter continues the broader topic of working with data in ASP.NET by focusing on how to work with ASP.NET’s powerful multivalue data controls: the Repeater, DataList, FormView, DetailsView, and GridView. Each of these controls uses data binding to display (and for some, even edit) multiple sets of data in different ways.

Introducing the Multivalue Data Controls

The majority of our data-binding examples so far in the book have used either the ListBox or DropDownList controls. Although these are certainly useful controls, they are hardly the only control that can display multiple data values. ASP.NET includes five controls dedicated ...

Get Core Internet Application Development with 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.