Exemple #1
0
        protected void gvSettings_Sorting(object sender, GridViewSortEventArgs e)
        {
            StateCookies myState = new StateCookies();

            myState.ColumnChange(e.SortExpression.ToString());
            loadSelect();
        }
Exemple #2
0
        protected void gvSettings_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            StateCookies myState = new StateCookies();

            gvSettings.PageIndex = e.NewPageIndex;

            loadStudents();
        }
Exemple #3
0
        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();
        }