difference between gridview,data list and repeater control

Answer Posted / nitish

1. Datagrid has paging while Datalist doesnt.
2. Datalist has a property called repeat.
Direction=vertical/horizontal.(This is of great help in
designing layouts). This is not there in Datagrid.
3. A repeater is used when more intimate control over html
generation is required.
4. When only checkboxes/radiobuttons are repeatedly served
then a checkboxlist or radiobuttonlist are used as they
involve fewer overheads than a Datagrid.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.

1429


What is the use of placeholder control?

554


Is react a template engine?

525


Explain login controls.

622


What's the difference between viewstate and sessionstate?

576






List down the sequence of methods called during the page load.

533


Explain what is event bubbling?

582


Define page fragment caching?

528


What are the benefits of view state?

558


What is the use of web.config and machine.config files?

633


Differentiate between namespace and assembly.

569


What is base class of button control in .net?

531


We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

1411


What is query string?

575


Do you know using sql cache invalidation?

534