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
What is the server of asp.net?
Can you explain one critical mapping? Performance issue which one is better?
What is the difference between visual basic and asp.net?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
What is authentication in asp.net?
Explain about Automatic resource management?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What is variable and constant in .net programming language?
Where do we store our connection string in asp.net application?
What are the different session state management options available in asp.net?
What are client activated objects?
What is the difference between client-side and server-side validations in ASP.NET?
What is the typical session identifier?
How many web config files can be created for an application?
Write the different features of a Thread and a Process?