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.

images

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 O’Reilly online learning.

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