Repeater里查找控件:   

for(int i=0;i<Repeater1.Items.Count;i++)
   {
    Label l = (Label)this.Repeater1.Items[i].FindControl("xs");
     AdminInfo info2 = (AdminInfo)ainfoAL[i];
    l.Text = info2.RegTime.ToShortDateString();
    //l.Text = i.ToString();

   }

posted on 2007-04-25 12:24  Sean.Fan  阅读(2440)  评论(5编辑  收藏  举报