Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
DataList Web Server Control
TheWeb server control displays rows of database information in a customizable format. The layout in which the data is displayed is defined in templates that you create. You can create templates for items, alternating items, selected items, and edit items. Header, footer, and separator templates are also available to let you customize the overall appearance of the DataList. By including Web server controls in the templates, you can connect the list items to code that allows users to switch between display, selection, and editing modes.
The following topics provide information on how to add DataList control to your ASP.NET Web pages, and how to program them.
In This Section