private void BindCourse() { courseBox.DataSource = co.GetAllCourses(); courseBox.DataTextField = "CourseName"; courseBox.DataValueField = "CourseID"; courseBox.DataBind(); }
private void BindCourse() { courseBox.DataSource = co.GetAllCourses(); courseBox.DataTextField = "CourseName"; courseBox.DataValueField = "CourseID"; courseBox.DataBind(); }