where to use datalist,Repeter,Grid view

Posted by Sushant under ASP.NET on 2/16/2013 | Points: 10 | Views : 1204 | Status : [Member] | Replies : 2
where to use datalist ,Repeter ,Grid view

Sushat


Responses

Posted by: Satyapriyanayak on: 2/16/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Refer

http://24x7aspnet.blogspot.in/2009/06/feature-difference-between.html
http://www.netrostar.com/ASP.NET-Repeater-ListView-DataList-DataGrid-GridView-which-one-to-choose
http://www.beansoftware.com/ASP.NET-Tutorials/Repeater-DataList-ListView-GridView.aspx

If this post helps you mark it as answer
Thanks

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj.Trivedi on: 2/18/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Sushant,

Use of Gridview, datalist and repeater depends upon the requirement how to show the data to the user

Grid View :-

1.It can be used where you want to show data and have very less manipulation to do with the data and you have less record to show from database.
2.To manipulate the data you can use ITEM Template and play with the GridView Controls
3.To use ready made paging functionality.

Datalist

1.It can be used where you want to use of lot of asp.net controls and where you want to have frequent interaction with the data coming from the database.The best example is the shopping websites where you see data and image of the product together with its info.
If you are trying to develop something like e-commerce app aur something that will affect the data on trig-erring the event.
There is one thing that you need to do is you have to use paging with the use of Paged Data source method.

Repeater

IT is same as Datalist but comparatively repeater is fast that data list.

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response