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

What is the advantage of mvc over asp.net? : Asp.Net MVC

498


What is ASLM?

678


Demonstrate Render and PreRender?

596


Which method is used to force all the validation controls to run?

545


How can we create custom controls in asp net?

531






How many types of validators are there in asp net?

490


Which is better php or asp.net?

514


What are httphandlers and httpmodules and difference between them?

517


What is the concept of postback in asp.net?

588


Explain the code Access Security (CAS) in .net Framework?

671


What is ispostback method in asp.net?

552


What is parse in asp.net?

551


What is the difference between GridView and Repeater controls in ASP.NET?

575


What are user controls?

565


When should I use server transfer and response redirect?

508