积极答复者
显示单条数据详细内容用什么控件比较好,vs2010环境下

问题
答案
-
DetailsView
或者FormView(可以自定义)
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats- 已标记为答案 Ken767 2013年3月10日 2:51
全部回复
-
DetailsView
或者FormView(可以自定义)
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats- 已标记为答案 Ken767 2013年3月10日 2:51
-
你好,
或者使用repeater均可。
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Song;)
Repeater一般用于显示多个数据,可以理解它是一个轻量级的“GridView”,里边某些(诸如ItemTemplate等),完全可以自行定义一些纯Html的项用于显示字段数值,该控件不适合单条详细信息。
另外Repeater没有GridView的分页,可以参考使用第三方Aspnetpager工具进行分页,这里可以免费代码下载:
http://www.webdiyer.com/AspNetPagerDemo/PagedRepeater/default.aspx(演示)
http://www.webdiyer.com/Controls/AspNetPager/Downloads(下载)
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats -
Label不就很ok么