private void LoadRequestGrid()
        {
            int codeostad = Convert.ToInt32(Session[sessionNames.userID_StudentOstad]);

            if (!FRB.HasNotationId(codeostad))
            {
                RadWindowManager1.RadAlert("به دلیل عدم وجود کد ملی در سامانه ثبت اساتید امکان ورود وجود ندارد", 400, 100, "پیام سیستم", "RedirectToMain");
            }
            DataTable dtRequest = ProfReqBuss.GetAllRequestsByProfCode(codeostad);
            DataTable dtResult  = ProfReqBuss.GetProfessorFromResearchByCode(codeostad);
            var       prof      = FRB.GetOstadInfoFromHR(codeostad);

            if (dtResult.Rows.Count == 0)
            {
                if (prof.Rows.Count > 0)
                {
                    ViewState["hrId"] = prof.Rows[0][0].ToString();
                }
            }
            else
            {
                ViewState["hrId"] = dtResult.Rows[0][0].ToString();
            }

            grdEditRequests.DataSource = dtRequest;
            grdEditRequests.DataBind();
            Business.university.CooperationRequest.CooperationRequestBusiness bsn = new Business.university.CooperationRequest.CooperationRequestBusiness();
            //bool hasContract = false;
            //DataTable dt = bsn.getContractOfTeacher(Convert.ToInt32(ViewState["hrId"]));
            //if (dt.Rows.Count == 1)
            //    if (dt.Rows[0]["contractFile"] != DBNull.Value)
            //        hasContract = true;
            //dvContract.Visible = !hasContract;
            //A2.Visible = !hasContract;
            //A3.Visible = hasContract;
        }