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;
  }
 相关阅读 更多 + 
    
  









