protected void Page_PreRender(object sender, EventArgs e) { PIKCV.BUS.UserCVs objUserLanguages = new PIKCV.BUS.UserCVs(); DataTable dtUserLanguages = objUserLanguages.GetUserLanguages(this.smUserID, (int)this.smLanguageID); pnlNoRecord.Visible = (dtUserLanguages.Rows.Count < 1); pnlForeignLanguages.Visible = !pnlNoRecord.Visible; rptForeignLanguages.DataSource = dtUserLanguages; rptForeignLanguages.DataBind(); UCharacteristicAndSocialLifeNav1.SelectNavigatorLink(PIKCV.COM.EnumDB.CVFocusCode.ForeignLanguages); PIKCV.BUS.UserCVs objUserCV = new PIKCV.BUS.UserCVs(); DataTable dtUserCV = objUserCV.GetUserCV(this.smUserID); ImgBtnContinue.Visible = !(Convert.ToInt32(dtUserCV.Rows[0]["CvFocusCode"]) > (int)PIKCV.COM.EnumDB.CVFocusCode.References); }
private void GetData() { PIKCV.BUS.User objUser = new PIKCV.BUS.User(); PIKCV.BUS.UserCVs objUserCV = new PIKCV.BUS.UserCVs(); this.dtUser = objUser.GetUserDetail(this.smUserID); this.dtUserCV = objUserCV.GetUserCV(this.smUserID); this.dtUserComputerKnowledge = objUserCV.GetUserComputerKnowledges(this.smUserID, (int)this.smLanguageID); this.dtUserEducationUniversity0 = objUserCV.GetUserEducations(this.smUserID, PIKCV.COM.EnumDB.EducationTypes.University0, PIKCV.COM.EnumDB.LanguageID.Turkish, false); this.dtUserEducationUniversity1 = objUserCV.GetUserEducations(this.smUserID, PIKCV.COM.EnumDB.EducationTypes.University1, PIKCV.COM.EnumDB.LanguageID.Turkish, false); this.dtUserEducationUniversity2 = objUserCV.GetUserEducations(this.smUserID, PIKCV.COM.EnumDB.EducationTypes.University2, PIKCV.COM.EnumDB.LanguageID.Turkish, false); this.dtUserEducationDoktorate = objUserCV.GetUserEducations(this.smUserID, PIKCV.COM.EnumDB.EducationTypes.Doktorate, PIKCV.COM.EnumDB.LanguageID.Turkish, false); this.dtUserEmployment = objUserCV.GetUserEmployment(this.smUserID, (int)this.smLanguageID); this.dtUserLabouringTypes = objUserCV.GetUserLabouringTypes(this.smUserID, (int)this.smLanguageID); this.dtUserLanguages = objUserCV.GetUserLanguages(this.smUserID, (int)this.smLanguageID); this.dtUserPlacementPreferences = objUserCV.GetUserPlaces(this.smUserID, (int)this.smLanguageID); this.dtUserPositions = objUserCV.GetUserPositions(this.smUserID, (int)this.smLanguageID); this.dtUserReferences = objUserCV.GetUserReferences(this.smUserID); this.dtUserSectors = objUserCV.GetUserSectors(this.smUserID, (int)this.smLanguageID); }