Click here to Skip to main content
14,770,042 members
Please Sign up or sign in to vote.
1.05/5 (4 votes)
See more:
what is the difference between datagrid,gridview,datalist and repeator control in
Richard MacCutchan 3-Aug-13 11:23am
Try doing your own research. All these items can be easily found in the documentation.

1 solution

Copy/pasted from below link:

DataGrid, GridView and DataList controls are derived from the WebControl class, while the Repeater control is derived from the Control class. The WebControl class contains a number of properties, such as BackColor, ForeColor, CssClass, BorderStyle and so on. In ASP .NET basically there are four kinds of the Data Presentation Controls.

GridView (more options) DataGrid DataList Repeater (less options) List of different abilities of Repeater Control, Datalist Control and GridView Control features.

Features of a GridView and DataGrid:
Displays data as a table Updateable Item as row Control over Alternate item Header Footer Colors, font, borders, etc.

Gridview - Limited in design, works like an html table. More in built functionality like edit/update, page, sort. Lots of overhead.
DataGrid - Old version of the Gridview. A gridview is a super datagrid.
Datalist - more customisable version of the Gridview. Also has some overhead. More manual work as you have to design it yourself.
ListView - the new Datalist. Almost a hybrid of the datalist and gridview where you can use paging and build in Gridview like functionality, but have the freedom of design. One of the new controls in this family
Repeater - Very light weight. No built in functionality like Headers, Footers. Has the least overhead.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900