private void BindGridView() { Enrollments msts = new Enrollments(); List <Enrollment> Teachers = msts.FullDetails(); grdTeacherInfo.DataSource = Teachers; grdTeacherInfo.DataBind(); }
private void BindGridView() { Enrollments msts = new Enrollments(); List <Enrollment> Teachers = msts.FullDetails(); grdTeacherInfo.DataSource = Teachers; grdTeacherInfo.DataBind(); }