不知道哪里出错了。本来就一个页面,现在导致出现很多问题。 是因为一个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
浙公网安备 33010602011771号