private void BindTeacherForm_Load(object sender, EventArgs e) { studentBox.DisplayMember = "Name"; studentBox.ValueMember = "Id"; studentBox.DataSource = CoursesRequests.GetStudents(); }