public void SetcmbStudentID() { systemManager objsystemManager = new systemManager(); cmbStudentID.DataSource = objsystemManager.GetStudentAllocationData(); cmbStudentID.DisplayMember = "universityID"; cmbStudentID.ValueMember = "StudentID"; }
private List <Student> GetStudentAllocatedData() { systemManager objsystemManager = new systemManager(); List <Student> lstStudentData = new List <Student>(); lstStudentData = objsystemManager.GetStudentAllocationData(); return(lstStudentData); }