翻页,分页 AspNetPager 的应用 Asp.net
样式三、
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="每页%PageSize%条
第%CurrentPageIndex%页 共%PageCount%页 共%RecordCount%条"
CustomInfoTextAlign="left" HorizontalAlign="Left" LayoutType="Table"
PagingButtonSpacing="8px" ShowCustomInfoSection="Right" ShowNavigationToolTip="true"
ShowPageIndexBox="Always" SubmitButtonImageUrl="../images/go.jpg"
SubmitButtonStyle="width:32px;height:22px;vertical-align:bottom"
UrlPageIndexName="pageindex" UrlPaging="True" Width="100%" PageSize="15"
ShowInputBox="Always" SubmitButtonText="跳转"
FirstPageText="首页" LastPageText="末页" NextPageText="下一页"
PrevPageText="上一页" onpagechanging="AspNetPager1_PageChanging">
</webdiyer:AspNetPager>
样式二、
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="共%PageCount%页
%RecordCount%条记录"
CustomInfoTextAlign="Center" HorizontalAlign="Center" LayoutType="Table"
PagingButtonSpacing="8px" ShowCustomInfoSection="Left" ShowNavigationToolTip="true"
ShowPageIndexBox="Always" SubmitButtonImageUrl="../images/go.jpg"
SubmitButtonStyle="width:32px;height:22px;vertical-align:bottom"
AlwaysShow="true" UrlPageIndexName="pageindex" UrlPaging="True" Width="100%"
PageSize="15"
ShowInputBox="Always" SubmitButtonText="跳转" CssClass="xzlb-fy"
FirstPageText="首页" LastPageText="末页" NextPageText="下一页"
PrevPageText="上一页"
onpagechanging="AspNetPager1_PageChanging1">
</webdiyer:AspNetPager>
样式一、
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="第
%CurrentPageIndex%页,共%PageCount%页,每页%PageSize%条"
FirstPageText="首页" LastPageText="尾页"
LayoutType="Table" NextPageText="下一页"
PageIndexBoxType="DropDownList" PrevPageText="上一页"
ShowCustomInfoSection="Right"
ShowPageIndexBox="Always" SubmitButtonText="Go"
TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到"
UrlPaging="True" PageSize="12"
CustomInfoSectionWidth="20%" onpagechanging="AspNetPager1_PageChanging">
</webdiyer:AspNetPager>