IT Community - Software Programming, Web Development and Technical Support

Which is the best among DataList,Repeater and GridView and Why?

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?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-24-2008, 01:08 AM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Which is the best among DataList,Repeater and GridView and Why?

Hi,
Can anyone tell which is the best among DataList,Repeater and Gridview?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-14-2008, 05:07 AM
ravichandra ravichandra is offline
D-Web Trainee
 
Join Date: Mar 2008
Posts: 1
ravichandra is on a distinguished road
Wink Re: Which is the best among DataList,Repeater and GridView and Why?

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.

Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-14-2008, 08:44 PM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Which is the best among DataList,Repeater and GridView and Why?

Hi,
Thanks for ur reply...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 07:07 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0