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

What is Razor View Engine

610


Is viewstate secure?

517


What is advantage of code behind coding in ASP.NET?

564


Explain some of the major built-in objects in asp.net

613


Why is global asax is used for?

522






Difference between overriding and overloading?

706


Define tracing.

630


Can I stream live content/events?

583


Can asp.net work on an nt server?

561


i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?

1847


Define data caching?

549


Is it possible to apply themes to an asp.net application? If yes, then how?

582


What is the difference between executescalar and executenonquery?

520


How do you secure your configuration files to be accessed remotely by unauthorized users?

633


What is advantage of asp.net?

553