private void PopTestingAreas() { IList TestingAreaList = DataRepository.GetAllTestingArea().ToList(); ReportRepository.AddItem(TestingAreaList, typeof(TestingArea), "Id", "AreaName", "< Select Option >"); comTestarea.DataSource = TestingAreaList; }
private void PopForecastInfo() { IList demographyForecastInfo = DataRepository.GetAllMorbidityForecast().ToList(); ReportRepository.AddItem(demographyForecastInfo, typeof(MorbidityForecast), "Id", "Title", "< Select Option >"); cobdemography.DataSource = demographyForecastInfo; }
private void PopProductType() { IList ProductTypeList = DataRepository.GetAllProductType().ToList(); ReportRepository.AddItem(ProductTypeList, typeof(ProductType), "Id", "TypeName", "< Select Option >"); comCategory.DataSource = ProductTypeList; }
private void PopSiteCategory() { IList SiteCatList = DataRepository.GetListOfAllSiteCategory().ToList(); ReportRepository.AddItem(SiteCatList, typeof(SiteCategory), "Id", "CategoryName", "< Select Option >"); comCategory.DataSource = SiteCatList; }
private void PopRegion() { IList RegionList = DataRepository.GetAllRegion().ToList(); ReportRepository.AddItem(RegionList, typeof(ForlabRegion), "Id", "RegionName", "< Select Option >"); comRegion.DataSource = RegionList; }
private void PopForecastInfo() { IList ServiceForecastInfo = DataRepository.GetForecastInfoByMethodology(comMethodologey.Text).ToList(); ReportRepository.AddItem(ServiceForecastInfo, typeof(ForecastInfo), "Id", "ForecastNo", "< Select Option >"); cobserviceorconsumption.DataSource = ServiceForecastInfo; IList demographyForecastInfo = DataRepository.GetAllMorbidityForecast().ToList(); ReportRepository.AddItem(demographyForecastInfo, typeof(MorbidityForecast), "Id", "Title", "< Select Option >"); cobdemography.DataSource = demographyForecastInfo; }
private void PopForecastInfo() { IList ServiceForecastInfo = DataRepository.GetForecastInfoByMethodology(MethodologyEnum.SERVICE_STATISTIC.ToString()).ToList(); ReportRepository.AddItem(ServiceForecastInfo, typeof(ForecastInfo), "Id", "ForecastNo", "< Select Option >"); cobservice.DataSource = ServiceForecastInfo; IList ConsumptionForecastInfo = DataRepository.GetForecastInfoByMethodology(MethodologyEnum.CONSUMPTION.ToString()).ToList(); ReportRepository.AddItem(ConsumptionForecastInfo, typeof(ForecastInfo), "Id", "ForecastNo", "< Select Option >"); cobconsumption.DataSource = ConsumptionForecastInfo; IList demographyForecastInfo = DataRepository.GetAllMorbidityForecast().ToList(); ReportRepository.AddItem(demographyForecastInfo, typeof(MorbidityForecast), "Id", "Title", "< Select Option >"); cobdemography.DataSource = demographyForecastInfo; }