Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

repeater and gridview diff?

Why is repeater fast than gridview?

Answer Posted / karthika.s

Repeater


Repeater is okay if you need to show data from some data
source. It offers the basic rendering options: header, item,
alternating item, separator and footer. It is really up to
developer how to fill these templates. By example, it is
easy to use Repeater to show read-only lists using templated
elements.


Repeater is faster because it offers only basic data bound
control rendering functionalities. If you want to show data
and you don't need any complex features described below then
repeater is the right joice.

GridView


GridView is rendered as table with columns and it is created
to show data and let users to manipulate it. GridView offers
powerful built-in features like:


* events for sorting data when user clicks on column
heading,
* row selection,
* row operations like adding, editing and deleting,
* paging,
* command columns and events to handle the commands.



GridView is excellent choice if there is a need to show
tabular data and also provide users with features described
above.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which methods validate all the controls on a page?

1030


What is the page life cycle in asp.net?

1011


Explain what is an abstract class?

1073


Is it possible for me to change my aspx file extension to some other name?

1068


Explain Life cycle of ASP.NET page when a request is made.

1265


Explain code snippet to register exception filters from controller?

1042


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

1086


What are the new web part controls in asp.net 2.0 ?

1104


How do sessions work?

987


How to turn off cookies for a page?

1044


What is round trip in asp.net?

983


What is the difference between application state and caching?

1147


What is the difference between web.config and machine.config in ASP.NET?

1206


What are the various types of cookies in asp.net?

1076


What is session object? Describe in detail.

1060