int pageCount = (this.total % this.pageSize) == 0 ? (this.total / this.pageSize) : (this.total / this.pageSize + 1);//总页
Debug.WriteLine("总页码:" + pageCount.ToString());
for (int i = 1; i <= pageCount; i++)
{
Debug.WriteLine("页码:"+i.ToString());
}