Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


difference between gridview,data list and repeater control

Answers were Sorted based on User's Feedback



difference between gridview,data list and repeater control..

Answer / palanivel

Difference between Repeater , Datalist, DataGrid(or GridView)



Repeater :

It contains Header Template, Item template , alternate
Item template and footer template . it can't support
Selection, editing, sorting and paging. this is read only
and fast.


Datalist :

It contains Header Template, Item template , alternate
Item template , Edit itm template and footer template . it
can't support sorting and paging but support selection and
editing


DataGrid(or GridView) :

It contains Header Template, Item template , alternate Item
template , Edit itm template and footer template . it can
support selection, editing , sorting and paging . Mostly
every developer caught used this control .

Is This Answer Correct ?    137 Yes 5 No

difference between gridview,data list and repeater control..

Answer / 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

difference between gridview,data list and repeater control..

Answer / mahendra

DataGrid and DataList controls are derived from the WebControl class, while the Repeater control is derived from the Control class. The WebControl class contains a number of aesthetic properties, such as BackColor, ForeColor, CssClass, BorderStyle and so on.

Is This Answer Correct ?    33 Yes 12 No

difference between gridview,data list and repeater control..

Answer / trimurthy

1.we are selecting ,updating from database in gridview and
also insering by using footer row and paging in gridview.
2we are create multiple column table,where each cell is a
separate record in data list.
3.It does not support selection and editing in repeater.

Is This Answer Correct ?    37 Yes 17 No

difference between gridview,data list and repeater control..

Answer / 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

difference between gridview,data list and repeater control..

Answer / 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

difference between gridview,data list and repeater control..

Answer / venkatrami reddy

Gridview:
gridview is a collection of templates like header, bounded,edit ,item ,hyperlink,image fields.using this gridview control we can perform all most all database realations.
Datalist:
datalist is a collection of header template,edit item template,item template and footer templates.By using this control we can select and edit the data.
repeater:
Repeater is a collection of item template,header template and footer template.by comparing the repeater and datalist, in case of performance we prefer to repeater control.

Is This Answer Correct ?    13 Yes 21 No

Post New Answer

More ASP.NET Interview Questions

In try catch blocks one is normal catch block and another is sqlcatchexception block

3 Answers   Microsoft,


How to change the form layout in ASp.net 2.0 ?

1 Answers   Netsweeper,


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

0 Answers  


How to bind all the binding controls in a page at once in ASP.NET?

0 Answers   Viscus Infotech,


Explain an object, class and method.

0 Answers  


Where is session data stored in asp net?

0 Answers  


Guys can anobody tell what is Conditional Bloating in asp.net ??

1 Answers  


Define Query Interface,Adref,Release?

1 Answers   Microsoft,


Why do we use Option Explicit?

2 Answers   Microsoft,


What does asp stand for in asp.net?

0 Answers  


Explain what is postback in asp. Net?

0 Answers  


What is difference between abstract class and an interface?

0 Answers  


Categories