This documentation is archived and is not being maintained.

DataList Web Server Control (Visual Studio)

The DataList Web server control displays rows of database information in a customizable format. The format for displaying the data 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 controls to your ASP.NET Web pages, and how to program them.

In This Section

See Also