German Wear Discount Shop - Click Here Write for Dotnet-friends and earn for your each submission [Dot]Net-Friends
Skip Navigation Links
Home
Latest
Fast Code
Articles
Tutorials
Online Resources
Forums
Login   | Hi, Guest


Difference between Repeater, Datalist and GridView Control

Written by omerkamal on Jul 21, 2007
Short list of the diffrence between Repeater, Datalist and GridView Control

Explanation:

In ASP .NET basically there are three kinds of the Data Presentation Controls.

  1. GridView (or DataGrid)
  2. DataList
  3. Repeater

When we talk about usage of one Data Presentation Controls then many of us get confused about choosing one.  When you need to use one of the data Presentation Control then You have to see what kind of behavior you need in your Data Display.

  1. Do you want to show Data in many Pages or in one page?
  2. Do you have to Display more then  one column in a Row ?
  3. Do you want to have a Row repeating  Possibility?
  4. Will users be able to update, Insert and delete the Data?
We are going provide a list of different abilities of Repeater Control,  Datalist Control and GridView Control.



Features of a GridView
•Displays data as a table
•Control over
 –Alternate item
 –Header
 –Footer
 –Colors, font, borders, etc.
 –Paging
•Updateable
•Item as row

Features of Repeater
•List format
•No default output
•More control
•More complexity
•Item as row
•Not updateable


Features of DataList
•Directional rendering
•Good for columns
•Item as cell
•Alternate item
•Updateable

I guess now it might be easier for you to decide.
Visitors/Readers Comments
(for questions please use The Forum)



venkatesan
Hi,

   This is very nice site

15/10/2007 05:35:27 UTC

Mathivanan K
What is Directional rendering?

23/10/2007 03:47:37 UTC

sujana

Hi,

       This site is excellent.

 

23/10/2007 05:44:39 UTC

Aarti

Hi,

Excellent

15/11/2007 21:40:50 UTC

Ankur

Please provide some performance wise difference!!

it is not sufficient

29/11/2007 03:18:52 UTC

javed ahmad

its very nice n simple for experiance person n they can easily understand.

 

thakx

29/11/2007 05:42:34 UTC

Ravi

Nice

 

03/12/2007 21:28:55 UTC

mayank

please add the pictorial representattion so that description become more vivid..

04/12/2007 05:17:00 UTC

Ravinder
Very nice article.this is very use ful in freshers

17/12/2007 06:27:05 UTC

Siva Reddy

Very good ....................

 

21/01/2008 06:57:36 UTC

rajni
very nice

25/01/2008 07:52:43 UTC

UrStop

That helps and makes things easy to select the needed control

Regards,

UrStop

27/01/2008 05:01:03 UTC

Talal Salafi

very brief and informative !!!!

01/02/2008 05:37:50 UTC

Farooq Ahmed Khan

Hi all

this is very nice site for learning. I got alot of information about using this site.

09/02/2008 04:43:48 UTC

Bhandhavi
Nice...Thank you for your information...

11/02/2008 22:08:36 UTC

SherSingh Kashyap
What is Directional rendering in DataList?

26/02/2008 00:04:43 UTC

Md Noor Alam
In Repeater data can not be bind simply as they can be in gridview or datalist. Data can be bind only in the databound event of repeater where as we can bind data in gridview or datalist inside page load or in the click event  of a button.

11/03/2008 00:12:48 UTC

abu
nice  & easily Understand

30/03/2008 23:59:48 UTC

RDivate
not sufficient info here

see the link for more info
http://www.dotnetspider.com/qa/Question43.aspx

11/04/2008 01:02:43 UTC

Pratheep

very nice . But What is Directional rendering

07/05/2008 03:01:47 UTC

imran
it is useful

http://www.dotnetclassic.com

08/05/2008 05:41:56 UTC

bala
good

03/07/2008 00:25:44 UTC

renish
Great site, but little explanation in datalist differences

08/07/2008 03:06:12 UTC

Mohsin
Excellent Dear!!! plz also provide the practical knowledge about each thx

30/07/2008 03:40:59 UTC

balajee
Really good

31/07/2008 10:39:35 UTC

Balaji
Simply the best

13/08/2008 00:52:40 UTC

Mohammed K.Younus
very nice

19/08/2008 04:05:35 UTC

Neha
Very nice nd helpful.
Thanks

24/08/2008 22:49:54 UTC

Yasin
It is very good site.
It is very helpful to a dot net developer.

27/08/2008 00:36:19 UTC

vivek agrahari
good very good

05/09/2008 11:33:02 UTC

Sameer Kumar Marathe?
The information given by you is nice but can we delete data from a Repeater Control?

03/10/2008 04:14:26 UTC

sathish
good

22/10/2008 04:27:05 UTC

Andrew
Terrible article. Not helpful at all. Why waste your time?

"In Repeater data can not be bind simply as they can be in gridview or datalist. Data can be bind only in the databound event of repeater where as we can bind data in gridview or datalist inside page load or in the click event  of a button."

This is very wrong....

18/11/2008 08:06:38 UTC

Minhaj Mansuri
Nice Article
But Not Enough Information
Thank You

20/11/2008 23:22:59 UTC

aneesh
good

03/12/2008 05:54:19 UTC

Shakir Siddiqui

Hi all

this is very nice site for learning. I got alot of information about using this site.

27/12/2008 02:42:22 UTC

sonali
Please provide some performance wise difference!!

08/01/2009 05:27:48 UTC

praveen

good

12/01/2009 04:07:51 UTC

ved
its a very use full site 

14/01/2009 00:36:29 UTC




Add your Comments

Name:  
Message:
Note: For faster response please use Forums >> for your questions instead of the comments area! (Admin)