中继器或数据列表控件 [英] Repeater or Datalist Control

查看:54
本文介绍了中继器或数据列表控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要在一个页面中以表格格式显示所有成员照片及其名称.在数据列表"和"Repeater"控件之外,最好使用哪个控件

Hi,
I need to display all members photos and their names in table format in a single page.Out of Datalist and Repeater control which one is the preferable control to use

推荐答案

在我的看法是,如果仅显示数据,那么Repeater就足够了;如果要对列表内的数据进行更多操作,则最好使用DataList甚至是GridView.
In my opinion if you are only displaying data then Repeater is enough and if you want more manipulation of data inside list then better to use DataList or even GridView.


这篇关于中继器或数据列表控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆