This is a discussion on Which is the best among DataList,Repeater and GridView and Why? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, Can anyone tell which is the best among DataList,Repeater and Gridview?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Repeater is fast followed by Datalist and finally datagrid.GridView has more features compared to DataGrid. When you assign the DataSource Property of a Datagrid to a DataSet then each DataRow present in the DataRow Collection of DataTable is assigned to corresponding DataGridItem and this is the same for rest of the control.But the HTML element created for the particular DataRow and its a Table form representing with Columns and Rows. For a DataList its an Array of Rows based on the Template Selected. For a Repeater Control,the datarecords to be displayed depends upon the Templates specified and the only HTML, generated is due to the Templates. DataGrid and GridView has a build in support for Sort,Filter and Paging the data,which is not possible using a DataLsit and for a Repeater control, we would require to write an explicit code to do paging. ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exporting GridView to Excel | shaalini | ASP and ASP.NET Programming | 4 | 03-26-2008 02:23 AM |
| GridView.DataBind not working | rrrajesh84in | ASP and ASP.NET Programming | 1 | 03-21-2008 10:01 PM |
| Difference between DataList and Repeater? | poornima | ASP and ASP.NET Programming | 10 | 01-25-2008 03:32 AM |
| What is the difference between repeater over datalist and datagrid? | anbuchezhians | VB.NET Programming | 5 | 11-22-2007 04:44 AM |
| How to decide on the design consideration to take a Datagrid, datalist or repeater in | oxygen | ASP and ASP.NET Programming | 1 | 07-26-2007 04:09 AM |