/// <summary> /// 获得做多医院的页数 /// </summary> /// <returns>返回获医院的页数</returns> public int GetMaxHospitalPages() { int MaxAdminPages; TotalNums = SiteManagement.GetTotalHospitalRecord(); if (TotalNums % PageSize == 0) { MaxAdminPages = TotalNums / PageSize; } else { MaxAdminPages = TotalNums / PageSize + 1; } return(MaxAdminPages); }