共<%=recordCount %>条记录,每页显示<%=pageSize %>条,共<%= (int)Math.Ceiling((double)recordCount / pageSize)%>页
public partial class NewsList : System.Web.UI.Page
{
public int pageSize=3;
public int pageIndex=0;
public int recordCount=0;
}
public partial class NewsList : System.Web.UI.Page
{
public int pageSize=3;
public int pageIndex=0;
public int recordCount=0;
}