difference between gridview,data list and repeater control
Answer Posted / sharda
Explanation:
In ASP .NET basically there are three kinds of the Data
Presentation Controls.
GridView (or DataGrid)
DataList
Repeater
When we talk about usage of one Data Presentation Controls
then many of us get confused about choosing one. When you
need to use one of the data Presentation Control then You
have to see what kind of behavior you need in your Data
Display.
Do you want to show Data in many Pages or in one page?
Do you have to Display more then one column in a Row ?
Do you want to have a Row repeating Possibility?
Will users be able to update, Insert and delete the Data?
We are going provide a list of different abilities of
Repeater Control, Datalist Control and GridView Control.
Features of a GridView
•Displays data as a table
•Control over
–Alternate item
–Header
–Footer
–Colors, font, borders, etc.
–Paging
•Updateable
•Item as row
Features of Repeater
•List format
•No default output
•More control
•More complexity
•Item as row
•Not updateable
Features of DataList
•Directional rendering
•Good for columns
•Item as cell
•Alternate item
•Updateable
| Is This Answer Correct ? | 116 Yes | 14 No |
Post New Answer View All Answers
Explain what is an abstract class?
What can we do with asp.net?
Does web services support data reader like pom project?
What are validators and list some validators of asp.net?
Which authentication uses a combination of windows and iis authentication?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
How to Separate background image and front image from original picture....
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
What does asp in asp.net stand for?
What is difference between view and partial view?
Explain MVC model binders?
What is asp.net file?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
What are the security types in ASP/ASP.NET? Different Authentication modes?
Why we use content place holder in asp.net?