Пример #1
0
        void BindData()
        {
            ClassPositionGoverment pg = new ClassPositionGoverment();
            DataTable dt = pg.GetPositionGoverment("", "", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
Пример #2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassPositionGoverment pg = new ClassPositionGoverment();
            DataTable dt = pg.GetPositionGoverment("", "", "");

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