Chapter 10. Data Bound Controls

In this chapter

Repeater Control

DataList Control

DataGrid Control

The DrugHistory Application

ASP.NET has three powerful data bound controls that make your job as an ASP developer much easier. There is a Repeater control, which enables you to do some pretty simple outputting of data. There is a DataList control that is more powerful and enables you to do more complex output. And there is a DataGrid control, which gives you great flexibility in presenting data to users and allowing them to edit the data.

These data controls can take data that is in some sort of collection, such as an array or a recordset, and render it to the HTML stream. Although you could do this all yourself by hand simply by using Response.Write() ...

Get Special Edition Using® Microsoft® ASP.NET 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.