DataList and Repeater re data-bound control used to display and modify
data from Asp.Net web form/appliaction.These control also conatin other asp.net
control like label,textbox,checkbox,radio-
Button ,dropdown, image-control etc.These control are also bound with data
source control like SqlDataSource,LinqDataSource to display data and to modify
data in asp.net web form.
Difference Between DataList and Repeater:-
DataList
|
Repeater
|
1.Template render
|
1. Table render
|
2.automatically generate
data column.
|
2. not supported.
|
3.Row selection supported.
|
3. not supported.
|
4.Editing of row/column
supported.
|
4. not supported.
|
5.Arrange data item
horizontly or vertically by using property RepeatDirection.
|
5. not supported.
|
6. slower as compared to
repeater.
|
6. faster as compared to
Datalist.
|
No comments:
Post a Comment
Note: only a member of this blog may post a comment.