repeater and gridview diff?

Why is repeater fast than gridview?

Answers were Sorted based on User's Feedback



repeater and gridview diff? Why is repeater fast than gridview?..

Answer / 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

repeater and gridview diff? Why is repeater fast than gridview?..

Answer / parvez borkar

1)repeater is faster then gridview.
2)repeater is faster then gridview because it is all html
based and it does not produce much unneeded xml. There are
more reasons for it..

Is This Answer Correct ?    11 Yes 8 No

repeater and gridview diff? Why is repeater fast than gridview?..

Answer / dushyant sharma

yes repeater is much faster then gridview becoz repeater
contained invisable interface

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is the use of autowireup in asp.net?

0 Answers  


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

0 Answers  


Which method is used to enforce garbage collection in .net?

0 Answers  


what are the ways to improve performance in .net application?

7 Answers   Mind Tree,


Name the two properties are on every validation control?

0 Answers  


Difference between overriding and overloading?

0 Answers  


Out of ASP or ASP.NET which one is stateless?

0 Answers   BirlaSoft,


what is the exact purpose of http handlers and interfaces?

1 Answers  


Can u able to get the xml document in crystal report if yes how its possible

2 Answers  


How can we create Tree control in asp.net?

0 Answers  


Do you know about caching with the datasource controls?

0 Answers  


What’s the difference between response .redirect and server.transfer?

0 Answers  


Categories