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