文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>repeater项模版bottom事件获取该bottom所在行id为lblName的label控件的text

repeater项模版bottom事件获取该bottom所在行id为lblName的label控件的text

时间:2011-05-27  来源:上善若水123

//实例:repeater项模版bottom事件获取该bottom所在行id为lblName的label控件的text
private   void   Button1_Click(object   sender,   System.EventArgs   e)
{
Button   btn   =   (Button)sender;
RepeaterItem   ri   =   (RepeaterItem)btn.Parent;
Label   lbl   =   (Label)ri.FindControl( "lblName");
string   sID   =   lbl.Text;
}

相关阅读 更多 +
排行榜 更多 +
顶尖猎人罗迪和凯茜

顶尖猎人罗迪和凯茜

冒险解谜 下载
火柴人飞爪忍者

火柴人飞爪忍者

冒险解谜 下载
派对野兽

派对野兽

冒险解谜 下载