public void SetupCourseSection() { dgCourseSection.ShowFooter = true; CourseSection courseSection = new CourseSection(); DataSet ds = courseSection.GetDisplay(); dgCourseSection.DataSource = ds.Tables["CourseSection"]; dgCourseSection.DataBind(); }