int intPageSize; //每页显示的记录数int intRowCount; //记录总数int intPageCount; //总页数计算总页数公式:intPageCount = (intRowCount+intPageSize-1) / intPageSize