page = records.totalCount / pageSize; page += (records.totalCount % pageSize) > 0 ? 1 : 0; for (int i = 1; i <= page; i++) {
}