Redian新闻
>
When do you want to use a Repeater control?
avatar
When do you want to use a Repeater control?# DotNet - 窗口里的风景
y*o
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?
avatar
l*s
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?

avatar
y*o
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

avatar
l*s
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.

avatar
g*y
5
repeater is lighter, can go horizontally.
avatar
b*u
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.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。