public void BindRequestorDetails(Int32 iRequestID)
 {
     try
     {
         objCtrlReq = new ControllerWFMRequestor();
         DataTable dtRequest = objCtrlReq.GetRequestorDetailsByID_WFM(iRequestID);
         //Request
         UsrCtrlRequestDetail.BindRequestorDetails(iRequestID, dtRequest);
         //Update details
         DataTable DtUpdate = objCtrlReq.GetResolveDetailsByID_WFM(iRequestID);
         if (DtUpdate.Rows.Count > 0)
         {
             ddlStratigic_Partner.Text = DtUpdate.Rows[0]["Stratigic_Partner"].ToString();
             ddlIssue_Level.Text       = DtUpdate.Rows[0]["Issue_Level"].ToString();
             ddlIssue_Type.Text        = DtUpdate.Rows[0]["Issue_Type"].ToString();
             ddlIssue_SubType.Text     = DtUpdate.Rows[0]["Issue_SubType"].ToString();
             txtPriority.Text          = DtUpdate.Rows[0]["Priority"].ToString();
             //  txtMailContent.Text = DtUpdate.Rows[0]["Notes"].ToString();
             if (DtUpdate.Rows[0]["Is_API_Checked"].ToString() == "True")
             {
                 ShowIframe.Visible = true;
                 //ifarme11.Attributes.Add("src", DtUpdate.Rows[0]["Page_Url"].ToString());
                 iFrameHeader.InnerText = DtUpdate.Rows[0]["Issue_SubType"].ToString() + " API :";
             }
             else
             {
                 ShowIframe.Visible = false;
             }
             txtMailContent.Text        = DtUpdate.Rows[0]["Notes"].ToString();
             txtResolved_Id.Text        = DtUpdate.Rows[0]["Resolved_Comment"].ToString();
             DDLWFMAction.SelectedValue = DtUpdate.Rows[0]["Status"].ToString();
             lblWFMDate.Text            = DtUpdate.Rows[0]["UpdateDate"].ToString();
         }
     }
     catch (Exception ex) {
         Utility.CreateErrorLog(ex.Message.ToString(), "TicketResolveDetails.aspx", "BindRequestorDetails", "", "", HttpContext.Current.Session["NTID"].ToString() + " / " + HttpContext.Current.Session["DomainName"].ToString() + " / " + HttpContext.Current.Session["LawsonID"], ex);
     }
 }
 public void BindRequestorDetails(Int32 iRequestID)
 {
     try
     {
         objCtrlReq = new ControllerWFMRequestor();
         DataTable DT = objCtrlReq.GetRequestorDetailsByID_WFM(iRequestID);
         //Request
         UsrCtrlRequestDetail.BindRequestorDetails(iRequestID, DT);
         //WFM
         lblWFMDate.Text        = DateTime.Now.ToString("dd MMM yyyy HH:mm:ss");
         divWFMRejected.Visible = false;
         divResolved.Visible    = false;
         ShowIframe.Visible     = false;
         // txtWFMComments.Text = Convert.ToString(DT.Rows[0]["RequestorComments"]);
         DataTable dt = objCtrlReq.Get_StregicPartner();
         if (dt.Rows.Count > 0)
         {
             ddlStratigic_Partner.DataSource     = dt;
             ddlStratigic_Partner.DataTextField  = "Stratigic_Partner_Name";
             ddlStratigic_Partner.DataValueField = "ID";
             ddlStratigic_Partner.DataBind();
             ddlStratigic_Partner.Items.Insert(0, "--Select--");
         }
         if (DT.Rows[0]["StratigicPartnerMasterID"] != null)
         {
             ddlStratigic_Partner.SelectedValue = DT.Rows[0]["StratigicPartnerMasterID"].ToString();
         }
     }
     catch (Exception ex)
     {
         Utility.CreateErrorLog(ex.Message.ToString(), "TicketDetails.aspx", "BindRequestorDetails", "", "", HttpContext.Current.Session["NTID"].ToString() + " / " + HttpContext.Current.Session["DomainName"].ToString() + " / " + HttpContext.Current.Session["LawsonID"], ex);
     }
     finally
     {
     }
 }