<webdiyer:AspNetPager ID="asppager" CssClass="asppager" runat="server" AlwaysShow="True" FirstPageText="首頁" LastPageText="尾頁" NextPageText="下一頁" PageIndexBoxType="TextBox" PrevPageText="上一頁" ShowBoxThreshold="3"
CustomInfoHTML="第<font color='red'><b>%CurrentPageIndex%</b></font>頁 共%PageCount%頁 每頁%PageSize%條 共%RecordCount%條記錄" ShowPageIndexBox="Auto" ShowCustomInfoSection="Right" PageSize="20" Width="100%" HorizontalAlign="Center" OnPageChanged="pagerSelect_PageChanged">
</webdiyer:AspNetPager>
這裏重點強調的是下面的代碼
CustomInfoHTML="第<font color='red'><b>%CurrentPageIndex%</b></font>頁 共%PageCount%頁 每頁%PageSize%條 共%RecordCount%條記錄"