void BindData()
        {
            ClassSubStaffType sst = new ClassSubStaffType();
            DataTable         dt  = sst.GetSubStaffType("", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
        void BindData1()
        {
            ClassSubStaffType sst = new ClassSubStaffType();
            DataTable         dt  = sst.GetSubStaffType(txtSearchSubStaffTypeID.Text, txtSearchSubStaffTypeName.Text);

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassSubStaffType sst = new ClassSubStaffType();
            DataTable         dt  = sst.GetSubStaffType("", "");

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