Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

Related Sections

Accessing Data with ASP.NET

Provides general information on using ASP.NET controls to work with data.

ASP.NET Web Server Controls Overview

Provides general information on working with ASP.NET Web server controls.

Individual ASP.NET Web Server Controls

Provides information on other Web server controls.

Data Web Server (ASP.NET) Controls

Provides links to topics about other data controls.

ASP.NET Web Server Controls Templates

Provides links to topics that discuss how to create templates.

Community Additions

© 2015 Microsoft