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
What are the 3 levels at which content pages can be attached to Master Page?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
What is the difference between cookie and session?
Explain how do you validate the controls in an asp .net page?
What is http post action?
How to create discussion forum in asp.net mvc? : Asp.Net MVC
How many ways are there to maintain a state in .net? What is view state?
Is asp.net and .net same?
What is a user session?
How can we create a website?
What is server infrastructure & server components?
In Code-Behind class which kind of code (server or client) is found ?
Describe the difference between inline and code behind - which is best in a?
What can you do with asp.net?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?