private void BindGrid()
        {
            int DeptID = (int)HttpContext.Current.Session["DeptID"];

            DelegationHistoryGridView.DataSource = SupplierBizLogic.FindDelegation2(DeptID).ToList();
            DelegationHistoryGridView.DataBind();
            DelegationScheduleGridView.DataSource = SupplierBizLogic.FindDelegation(DeptID).ToList();
            DelegationScheduleGridView.DataBind();
        }
        protected void DelegationScheduleGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            //adin for page index
            int DeptID = (int)HttpContext.Current.Session["DeptID"];

            DelegationScheduleGridView.DataSource = SupplierBizLogic.FindDelegation(DeptID).ToList();

            DelegationScheduleGridView.PageIndex = e.NewPageIndex;
            DelegationScheduleGridView.DataBind();
        }