不知道哪里出错了。本来就一个页面,现在导致出现很多问题。 是因为一个ID没有传过来。

 

 

首先   取Reapeter的值普通情况下是在ItemCommand 里

 string    a=((TextBox)e.Item.FindControl("  ")).SelectedValue.Trim();

"" 里面是TextBox的ID

Reapeter  不在ItemCommand 里怎么取值

foreach (ReapterItem b in this.ReapterItem1.Items)

{

   string   tt=((TextBox)b.FindControl(" ")).text;

}

''  ''里面要获取TextBox值的ID

posted on 2010-05-06 10:43  挑战自我  阅读(499)  评论(0)    收藏  举报