得到GridView的pagertemplate中TextBox的控件

1 <PagerTemplate>
2 <asp:textbox id="TB_GoPage" runat="server"Columns="3" Text="取值"></asp:textbox>
3 </PagerTemplate>

 

得到TB_GoPage中的值

 

1 TextBox tb_gopage = (TextBox)GV_List.BottomPagerRow.Cells[0].FindControl("TB_GoPage");

 

 

posted @ 2010-01-04 17:23  Alex.Net  阅读(314)  评论(0)    收藏  举报