difference between gridview,data list and repeater control

Answer Posted / vikas

GridView provides ability to allow the end-user to edit the page data or sort the page records. But it comes at a cost of speed. Secondly, the display format is very simple i.e. is in row and columns.
With its templates, DataList provides more control over the look and feel of the displayed data than the GridView. And it offers better performance than GridView.
With Repeater, the only HTML emitted are the values of the databinding statements in the templates along with the HTML markup specified in the templates—no "extra" HTML is emitted, as with the Gridview and DataList.

for details check below link.

https://csharpquestions1.blogspot.in/2016/10/what-is-difference-between-data-list.html

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

535


How many types of state management are there in asp net?

518


What is the difference between page directive include and action tag include?

521


By default, Web API sends HTTP response with which of the following status code for all uncaught exception?

967


What are the different kinds of assemblies?

520






What is use of Master Page in ASP.NET web pages?

621


What is the difference between custom web user control and a custom web server control?

499


Why viewstate is used in asp.net?

507


What is a master page and what does it do?

532


What is fulltrust?

559


Describe Segmentation With Paging?

627


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

538


How about the security in Activex DLL and Activex EXE ?

1785


Are there resources online with tips on asp to asp.net conversions?

544


Which property is used to identify the Page is Post Back in ASP.NET?

554