一个ASP.Net的DataGrid分页控件

2012 年 12 月 15 日5590

  写的不算好,仅供参考。
  
  GridPager.ascx:
  <%@ Control Language="c#" AutoEventWireup="false" Codebehind="GridPager.ascx.cs" Inherits="Test.BaseClass.GridPager" TargetSchema="http://http://www.zjjv.com///intellisense/ie5"%><?xml:namespace prefix = asp /><asp:linkbutton id=lbtnPre runat="server" Text="..." Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage1 runat="server" Text="1" Visible="False" Enabled="False" Font-Size="Small">1</asp:linkbutton> <asp:linkbutton id=lbtnPage2 runat="server" Text="2" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage3 runat="server" Text="3" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage4 runat="server" Text="4" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage5 runat="server" Text="5" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage6 runat="server" Text="6" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage7 runat="server" Text="7" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage8 runat="server" Text="8" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage9 runat="server" Text="9" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnPage10 runat="server" Text="10" Visible="False"></asp:linkbutton><asp:linkbutton id=lbtnNext runat="server" Text="..." Visible="False"></asp:linkbutton>

[1]

0 0