protected void gvSettings_Sorting(object sender, GridViewSortEventArgs e) { StateCookies myState = new StateCookies(); myState.ColumnChange(e.SortExpression.ToString()); loadSelect(); }
protected void gvSettings_PageIndexChanging(object sender, GridViewPageEventArgs e) { StateCookies myState = new StateCookies(); gvSettings.PageIndex = e.NewPageIndex; loadStudents(); }
private void loadUsers(StateCookies myState) //StateCookies myState { //Security mySecurity = new Security(); DataSet ds = new DataSet(); myDal.ClearParams(); myDal.AddParam("@Classid", ddlClassname.SelectedValue); gvSettings.DataSource = myDal.ExecuteProcedure("SD18EXAM_spGetUsers"); gvSettings.DataBind(); }