y********o 发帖数: 2565 | 1 I know a little bit about the Repeater control. But since there is a very v
ersatile GridView, why and when do we need the Repeater control? |
l*s 发帖数: 783 | 2 如果你所有的数据都只是用tabular方式显示的,的确不需要懂repeater.
v
【在 y********o 的大作中提到】 : I know a little bit about the Repeater control. But since there is a very v : ersatile GridView, why and when do we need the Repeater control?
|
y********o 发帖数: 2565 | 3 So, maybe a repeater can be helpful in cases where you wanna display 1 recor
d of data and then some image separator followed by another row of data foll
owed by another image separator.
【在 l*s 的大作中提到】 : 如果你所有的数据都只是用tabular方式显示的,的确不需要懂repeater. : : v
|
l*s 发帖数: 783 | 4 you define the template, so you can do whatever you want.
recor
foll
【在 y********o 的大作中提到】 : So, maybe a repeater can be helpful in cases where you wanna display 1 recor : d of data and then some image separator followed by another row of data foll : owed by another image separator.
|
g***y 发帖数: 27 | 5 repeater is lighter, can go horizontally. |
b****u 发帖数: 1027 | 6 repeater is not derived from webcontrol. and it doesn't support paging,
sorting, etc. it's a very light weight control.
in fact I always choose repeater as my default control unless there's any
reason not to. it's just my approach. |