本帖最后由 caozhy 于 2012-09-01 20:58:50 编辑

解决方案 »

  1.   


    不好意思,可能是我说不明白,
    目的就是点击提交按钮获取到childRepeater的所有TextBox 的值
    但是我现在没法获取到ID为 FieldTexValue 的这个TEXTBOX对象
      

  2.   

    for (int i = 0; i < parentRepeater.Items.Count; i++)
                    {
                        Repeater childrepeater = parentRepeater.Items[i].FindControl("childRepeater") as Repeater;
                        for (int j = 0; j < childrepeater.Items.Count; j++)
                        {
                            TextBox txtb = childrepeater.Items[j].FindControl("FieldTexValue") as TextBox;                        txt = txtb.Text;                    }
                    }搞定了24小时够了结贴