<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%条记录"