Mega Code Archive

 
Categories / ASP.Net Tutorial / Data Binding
 

Working with Tabular DataBound Controls

There are six tabular DataBound controls.  These controls can be divided into two types:  those that display multiple data items at a time and  those that display a single data item at a time. First, you can use any of the following controls to display a set of data items: GridView: A set of data items in an HTML table.            This control enables you to display, sort, page, select, and edit data. DataList: A set of data items in an HTML table.            Unlike the GridView control, more than one data item can be displayed in a single row. Repeater: Displays a set of data items using a template.            Repeater control does not automatically render an HTML table. ListView: Displays a set of data items using a template.            ListView control supports sorting, paging, and editing database data.