问题描述
<PagerTemplate><divstyle="text-align:right;"><asp:LinkButtonID="cmdFirstPage"runat="server"CommandName="Page"CommandArgument="First"Enabled="<%#((GridView)Container.Parent.Parent).PageIndex!=0%>">首页</asp:LinkButton><asp:LinkButtonID="cmdPreview"runat="server"CommandArgument="Prev"CommandName="Page"Enabled="<%#((GridView)Container.Parent.Parent).PageIndex!=0%>">前页</asp:LinkButton>第<asp:LabelID="lblcurPage"runat="server"Text='<%#((GridView)Container.Parent.Parent).PageIndex+1%>'></asp:Label>页/共<asp:LabelID="lblPageCount"runat="server"Text='<%#((GridView)Container.Parent.Parent).PageCount%>'></asp:Label>页<asp:LinkButtonID="cmdNext"runat="server"CommandName="Page"CommandArgument="Next"Enabled="<%#((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1%>">后页</asp:LinkButton><asp:LinkButtonID="cmdLastPage"runat="server"CommandArgument="Last"CommandName="Page"Enabled="<%#((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1%>">尾页</asp:LinkButton>转<asp:TextBoxID="txtGoPage"runat="server"Text='<%#((GridView)Container.Parent.Parent).PageIndex+1%>'Width="32px"OnTextChanged="txtGoPage_TextChanged"CssClass="inputmini"></asp:TextBox>页</div></PagerTemplate>OnTextChanged="txtGoPage_TextChanged"这是事件怎么写.VS找不到啊.怎么提出TEXTBOX中的TEXT
解决方案
解决方案二:
在线等急
解决方案三:
顶一下吧.不好意思啊