日期:2014-05-17 浏览次数:20604 次
<asp:HiddenField ID="hf_category" runat="server" />
<div class="alPage">
<asp:DataPager ID="dp_party" runat="server" PagedControlID="repList" PageSize="2"
EnableViewState="false">
<Fields>
<asp:TemplatePagerField>
<PagerTemplate>
共<%= DataCount%>条记录, 当前第<asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.TotalRowCount>0 ? (Container.StartRowIndex / Container.PageSize) + 1 : 0 %>" />/<asp:Label
runat="server" ID="TotalPagesLabel" Text="<%# Math.Ceiling ((double)Container.TotalRowCount / Container.PageSize) %>" />页,
</PagerTemplate>
</asp:TemplatePagerField>
<asp:NextPreviousPagerField ButtonType="Link" ShowFirstPageButton="true" ShowPreviousPageButton="true"
ShowLastPageButton="false" ShowNextPageButton="false" FirstPageText="首页" ButtonCssClass="PageCss"
PreviousPageText="上页" />
<asp:NumericPagerField />
<asp:NextPreviousPagerField ButtonType="Link" ShowNextPageButton="true" ShowLastPageButton="true"
ShowFirstPageButton="false" ShowPreviousPageButton="false" LastPageText="末页"
ButtonCssClass="PageCss"
&n