Beispiel #1
0
        void BindData()
        {
            ClassBlood b  = new ClassBlood();
            DataTable  dt = b.GetBlood("", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
Beispiel #2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassBlood b  = new ClassBlood();
            DataTable  dt = b.GetBlood("", "");

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