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
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
What are custom user controls in asp.net?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
Explain about solution explorer window?
How to fetch a data from one table to another table in asp.net ?
Why will you usually create an aspnet user account in the database for an asp.net web application?
Where web.config file is used?
Does google crawl redirects?
How use Xml data in ASP.net?
What is gridview in asp.net?
What are the various session state management options provided by asp.net?
What is a web farm?
Which method is used to enforce garbage collection in .net?
Why is it preferred to not use finalize for clean up?