Using the ListView Control

The ListView control displays multiple records and includes built-in template options to display those items in a grid, as a set of tiles, as a bulleted list, in a single row, or as a regular list. Figure 20-6 shows a ListView displaying the data from the Events database table using the built-in tile template scheme.


Figure 20-6. The tile view of the ListView control

You can use the built-in templates by selecting the ListView control, clicking the arrow button, and selecting Configure ListView from the pop-up menu. You can then choose the formatting to apply to the control, as shown in Figure 20-7.

Figure 20-7. ...

Get Applied ASP.NET 4 in Context 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.