Chapter 13. Using the Repeater and DataList Controls

<feature><title>In this Chapter</title> <objective>

Using the Repeater Control

</objective>
<objective>

Using the DataList Control

</objective>
<objective>

Summary

</objective>
</feature>

Both the Repeater and DataList controls—the subjects of this chapter—enable you to display a set of data items at a time. For example, you can use these controls to display all the rows contained in a database table.

The Repeater control is entirely template driven. You can format the rendered output of the control in any way that you please. For example, you can use the Repeater control to display records in a bulleted list, a set of HTML tables, or even in a comma-delimited list.

The DataList control is also template ...

Get ASP.NET 2.0 Unleashed 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.