protected void Page_Load(object sender, EventArgs e)
 {
     vpfc = new ViewPendingFormController();
     String rId = Session["transferId"].ToString();
     Label1.Text = "Details for Requisition "+rId;
     Object o= vpfc.getListByDeptDetail(rId);
     GridView1.DataSource = o;
     GridView1.DataBind();
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            User u = (User)Session["UserEntity"];
            if (u == null || u.RoleId != 4)
            {
                Response.Redirect("../Security.aspx");
            }

            vpfc = new ViewPendingFormController();
            String rId = Session["transferId"].ToString();
            Label1.Text = "Details for Requisition "+rId;
            Object o= vpfc.getListByDeptDetail(rId);
            GridView1.DataSource = o;
            GridView1.DataBind();
        }