private void LoadDataIntoComboBoxes() { ListData.LoadDataIntoComboBox(BranchComboBox, "usp_BranchesGetAllBranchesName"); ListData.LoadDataIntoComboBox(GenderComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.Gender }); ListData.LoadDataIntoComboBox(CityComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.City }); ListData.LoadDataIntoComboBox(DistrictComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.District }); ListData.LoadDataIntoComboBox(JobTitleComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.EmployeeJobTitle }); ListData.LoadDataIntoComboBox(HasLeftComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.YesNo }); ListData.LoadDataIntoComboBox(ReasonLeftComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.EmployeeReasonLeft }); }
private void LoadDataIntoComboBoxes() { ListData.LoadDataIntoComboBox(BranchComboBox, "usp_BranchesGetAllBranchName"); ListData.LoadDataIntoComboBox(GenderComboBox, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.Gender }); }
private void LoadDataIntoComboBoxes() { ListData.LoadDataIntoComboBox(CityComboBox1, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.City }); ListData.LoadDataIntoComboBox(DistrictComboBox2, new DbParameter { Parameter = "@ListTypeId", Value = ListTypes.District }); }
private void LoadDataIntoComboBox() { ListData.LoadDataIntoComboBox(CityNameComboBox, new DbParameter() { Parameter = "@ListTypeId", Value = ListTypes.City }); ListData.LoadDataIntoComboBox(DistrictNameComboBox, new DbParameter() { Parameter = "@ListTypeId", Value = ListTypes.District }); }
private void LoadDataIntoComboBoxes() { ListData.LoadDataIntoComboBox(CityComboBox, new DBParameter { Parameter = "@ListTypeId", Value = ListTypes.City }); ListData.LoadDataIntoComboBox(DepartmentComboBox, new DBParameter { Parameter = "@ListTypeId", Value = ListTypes.Department }); }