会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
信封牛
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
2010年5月6日
ASP.NET Repeater 头模板(HeaderTemplate)和FooterTemplate模板中查找控件
摘要: //在HeaderTemplate中寻找Label1,默认为第0个string s=((Label)Repeater1.Controls[0].FindControl("Label1")).Text; //在FooterTemplate中寻找Label2,默认为最后一个string s=((Label)Repeater1.Controls[Repeater1.Controls.Count - 1...
阅读全文
posted @ 2010-05-06 15:12 信封牛
阅读(2388)
评论(0)
推荐(0)
编辑