Gridview

A Gridview is a control for displaying and manipulating data from a variety of data sources.

Repeater

The Repeater control is used to display a repeated list of items that are bound to the control.

Difference big understanding

Example

"In my understanding repeater is most suitable since it faster than gridview"

from question  

Merging cell of equal value in ASP.NET Repeater

"The repeater is still faster than the gridview but the difference shouldn t be big if you code it right"

from question  

Better way for populating data from ms sql database in asp.net (vb.net/c#)

Others

Example

The gridview is for tabular data only and does a lot of the work for you like binding data automatically to columns;the repeater gives you more control over the result but you have to do more because nothing gets binded automatically

from question  

Why not we use Repeater Control instead of Gridview Control?

If you don t need any of the features of a gridview why not use a repeater;a repeater keeps it simple for implementation but also allows you to have full control over the generated source

from question  

Asp.net gridview vs writing innerhtml

Each button raises the correct event but the events never reach the gridview because they are handled at a lower level by the repeater

from question  

Dynamically generate page linkbuttons for the PagerTemplate of a GridView

In simple words we can say performance of repeater is far better than gridview

from question  

What is advantage of repeater control over grid view in asp.net C#?

Repeater has fewer templates then gridview

from question  

In asp.net , what is the difference between gridview and repeater controls

If you want more flexibility in the output than gridview provides take a look at repeater;since the repeater doesn t directly implement paging you ll have to supply your own next and previous buttons

from question  

Multiple Pages (Like google results) in ASP.net

Also you can use templatecolumn with gridview and add your labels into this template column;but imo repeater is simpler to customize your view by templates

from question  

DataBind DataSource Result to ASP Labels

I would recommend you to use an asp repeater because finding controls in an asp repeater is easier and is very similar to the asp gridview control

from question  

ASP.NET c# Rating control - making it one time rating and fixed

A repeater might be a better decision than a gridview as they are friendlier for using custom layouts

from question  

Datasets, Parent/Child table relations and Gridview controls

Maybe a repeater is better but you will be fine with a gridview if you are familiar with a gridview

from question  

Display a Photo Gallery using Asp.Net and SQL

For me datagrid or gridview can be used when you need to display data with able to edit each row sorting paging etc;if you want just to display one table repeater is more prefered

from question  

Which control should I use? Repeater or Gridview?

It is possible to create a table with repeater - how to create a three column table in asp.net repeater but it will require a bit different markup with properly set table tags;and perhaps gridview is a better alternative to manual table creation

from question  

Fill nested repeaters in a table

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0