다음을 통해 공유


DataList Web Server Control

The DataList Web 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 Button 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