模拟点击gridview页尾分页按钮
我的gridview的页尾有一分页跳转按钮btnGo
转到<asp:TextBox ID="txtNewPageIndex" runat="server" Text="<%# ((GridView)Container.Parent.Parent).PageIndex + 1%>" Width="20px"</asp:TextBox> <asp:ImageButton ID="btnGo" runat="server" CausesValidation="False" CommandArgument="-1" CommandName="Page" ImageUrl="~/images/go.jpg" />