Site Meter Asp.Net-Csharp,Asp,Ado.Net,Ado,Micosoft,Visualstudio,Visual webgui: Difference between Repeater , Datalist, DataGrid(or GridView)

Tuesday, October 27, 2009

Difference between Repeater , Datalist, DataGrid(or GridView)

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.

http://forums.asp.net/p/1072020/2217049.aspx

Datagrid vs Gridview

In datagrid you cannot set a permisiion level........

In gridview you can do the access level............

GridView is a composite data-bound control and shares a common set of methods and properties with all other data-bound controls, including DropDownList, DetailsView, and ListBox.

GridView can render on mobile devices.

Grid view Control take care automatically deletes or updates records from the datasource.

No comments:

Post a Comment