Example #1
0
        protected void GridViewStudents_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            ClassStudents searchStudent = new ClassStudents();

            searchStudent.SearchStudent(ddStudentSearch, txStudentSearch, GridViewStudents);
            GridViewStudents.PageIndex = e.NewPageIndex;
            GridViewStudents.DataBind();
        }
Example #2
0
        protected void btnStudentSearch_Click(object sender, EventArgs e)
        {
            ClassStudents searchStudent = new ClassStudents();

            searchStudent.SearchStudent(ddStudentSearch, txStudentSearch, GridViewStudents);
        }