예제 #1
0
        void BindData()
        {
            ClassGradProgram gp = new ClassGradProgram();
            DataTable        dt = gp.GetGradProgram("", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
예제 #2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassGradProgram gp = new ClassGradProgram();
            DataTable        dt = gp.GetGradProgram("", "");

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