Dreamweaver

Comparing the ASP.NET DataGrid and DataList controls

The ASP.NET DataGrid and DataList controls provide numerous options for displaying different data types (especially dynamic content from a database), and simplify the process of binding data sources to the controls. Dreamweaver supports both the DataGrid and DataList controls as server behaviors. The controls provide the following features:

DataGrid
creates a multi-column, data-bound grid. This control allows you to define various types of columns, both to lay out the contents of the grid and to add specific functionality (edit button columns, hyperlink columns, and so on).

DataList
displays items from a data source using templates. You can customize the appearance of the control by manipulating the templates that make up its different components.