Summary

The DataList control has a great deal of flexibility, but this flexibility means that you must do a little extra work to get the control laid out the way you want it. In this chapter, you learned the following:

  • How to use the DataList control to display and edit data within a table-like display

  • How to supply HTML templates for each of the “modes” you want to support (item display, alternating item display, edited item display, and so on)

  • How to provide code that can handle editing and updating data within the DataList control

Get ASP.NET Developer's JumpStart 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.