Exemplo n.º 1
0
        void BindData()
        {
            ClassFaculty f  = new ClassFaculty();
            DataTable    dt = f.GetFaculty("", "", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
Exemplo n.º 2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassFaculty f  = new ClassFaculty();
            DataTable    dt = f.GetFaculty("", "", "");

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