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
How to use multiple scriptmanager controls in a web page?
List the events in page life cycle.
What are merge modules?
What are sessions used for?
Is asp.net mvc front end or backend? : Asp.Net MVC
How can you handle unmanaged code exceptions in asp.net?
How does session work in asp net?
What is the difference between runtime version and version?
How to Separate background image and front image from original picture....
How to create events for a control?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What is difference between session and cookies in asp net?
Do session use cookies in asp net?
Explain the Session state management options available with ASP.NET?
In asp.net, how can you validate drop down box?