Пример #1
0
        protected void GridViewCourses_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            ClassCourses searchCourse = new ClassCourses();

            searchCourse.SearchCourse(ddSearch, txCourseSearch, GridViewCourses);
            GridViewCourses.PageIndex = e.NewPageIndex;
            GridViewCourses.DataBind();
        }
Пример #2
0
        protected void btnCourseSearch_Click(object sender, EventArgs e)
        {
            ClassCourses searchCourse = new ClassCourses();

            searchCourse.SearchCourse(ddSearch, txCourseSearch, GridViewCourses);
        }