private void LoadCmbYear() { YearController yearController = new YearController(); List <SCHOOLYEAR> schoolYears = yearController.GetAll(); cmbYear.ValueMember = "SCHOOLYEARID"; cmbYear.DisplayMember = "NAME"; cmbYear.DataSource = schoolYears; }
private void LoadCmbYear() { YearController yearController = new YearController(); List <SCHOOLYEAR> schoolYears = yearController.GetAll(); cmbYear.ValueMember = "SCHOOLYEARID"; cmbYear.DisplayMember = "NAME"; cmbYear.DataSource = schoolYears; }