Exemple #1
0
        void BindData()
        {
            ClassTitleName t  = new ClassTitleName();
            DataTable      dt = t.GetTitleName("", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
Exemple #2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassTitleName t  = new ClassTitleName();
            DataTable      dt = t.GetTitleName("", "");

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