private void LoadApplicantDetails() { try { DataTable DtApplicantDetails = new DataTable(); _obj_Rec_InterviewAssessmentForm = new RECRUITMENT_INTERVIEWASSESSMENTFORM(); _obj_Rec_InterviewAssessmentForm.MODE = 6; _obj_Rec_InterviewAssessmentForm.IAF_APPLID = Convert.ToInt32(Rcb_ApplicantID.SelectedItem.Value); DtApplicantDetails = Recruitment_BLL.get_InterviewAssessment(_obj_Rec_InterviewAssessmentForm); if (DtApplicantDetails.Rows.Count > 0) { rtxt_FullName.Text = Convert.ToString(DtApplicantDetails.Rows[0]["NAME"]); rntxt_ContactNumber.Text = Convert.ToString(DtApplicantDetails.Rows[0]["APPCONT_PHONE"]); rtxt_PositionAppliedFor.Text = Convert.ToString(DtApplicantDetails.Rows[0]["DESIGNATION"]); rtxt_Qualification.Text = Convert.ToString(DtApplicantDetails.Rows[0]["QUALIFICATION"]); rtxt_Company.Text = Convert.ToString(DtApplicantDetails.Rows[0]["COMPANY"]); lbl_Skill.Text = Convert.ToString(DtApplicantDetails.Rows[0]["JOREQ_SKILL"]); //lbl_FirstRound.Text = Convert.ToString(DtApplicantDetails.Rows[0]["PHASE_NAME"]); //lbl_JobReqId.Text = Convert.ToString(DtApplicantDetails.Rows[0]["RESSHT_JOBREQID"]); lbl_FirstRound.Text = Convert.ToString(Rcb_PhaseID.SelectedItem.Text); LoadSkill(); } else { rtxt_FullName.Text = string.Empty; //rntxt_ContactNumber.Value = 0; rntxt_ContactNumber.Text = string.Empty; rtxt_PositionAppliedFor.Text = string.Empty; rtxt_Qualification.Text = string.Empty; rtxt_Company.Text = string.Empty; lbl_Skill.Text = string.Empty; lbl_FirstRound.Text = string.Empty; lbl_JobReqId.Text = string.Empty; DataTable DtEmpty = new DataTable(); RG_Skills1.DataSource = DtEmpty; RG_Skills1.DataBind(); //rdi_Date.Clear(); rtxt_AdditionalComments1.Text = string.Empty; rtxt_Signature.Text = string.Empty; } } catch (Exception ex) { SMHR.BLL.Error_Log(Session["USER_ID"].ToString(), ex.TargetSite.ToString(), ex.Message.Replace("'", "''"), "frm_InterviewAssesment", ex.StackTrace, DateTime.Now); Response.Redirect("~/Frm_ErrorPage.aspx"); } }
private void LoadApplicant() { try { _obj_Rec_InterviewAssessmentForm = new RECRUITMENT_INTERVIEWASSESSMENTFORM(); _obj_Rec_InterviewAssessmentForm.MODE = 5; Rcb_ApplicantID.DataSource = Recruitment_BLL.get_InterviewAssessment(_obj_Rec_InterviewAssessmentForm); Rcb_ApplicantID.DataTextField = "APPLICANT_CODE"; Rcb_ApplicantID.DataValueField = "RESSHT_APPLID"; Rcb_ApplicantID.DataBind(); Rcb_ApplicantID.Items.Insert(0, new RadComboBoxItem("Select", "0")); } catch (Exception ex) { SMHR.BLL.Error_Log(Session["USER_ID"].ToString(), ex.TargetSite.ToString(), ex.Message.Replace("'", "''"), "frm_InterviewAssesment", ex.StackTrace, DateTime.Now); Response.Redirect("~/Frm_ErrorPage.aspx"); } }