Esempio n. 1
0
        void BindData()
        {
            ClassGradLev gl = new ClassGradLev();
            DataTable    dt = gl.GetGradLev("", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
Esempio n. 2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassGradLev gl = new ClassGradLev();
            DataTable    dt = gl.GetGradLev("", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }