Example #1
0
    protected void Page_PreRender(object sender, EventArgs e)
    {
        PIKCV.BUS.UserCVs objUserEmployment = new PIKCV.BUS.UserCVs();
        DataTable         dtUserEmployment  = objUserEmployment.GetUserEmployment(this.smUserID, (int)this.smLanguageID);

        pnlNoRecord.Visible      = (dtUserEmployment.Rows.Count < 1);
        pnlEmployment.Visible    = !pnlNoRecord.Visible;
        rptEmployment.DataSource = dtUserEmployment;
        rptEmployment.DataBind();

        DataBindHelper.LoadNumberDDL(ref ddlTotalWorkExperience, 60, 1, 0);
        ddlTotalWorkExperience.Items.Insert(0, new ListItem(PIKCV.COM.Data.GetErrorMessageCache(this.cmbErrors, PIKCV.COM.EnumDB.ErrorTypes.InitialText), "-1"));

        PIKCV.BUS.UserCVs objUserCV = new PIKCV.BUS.UserCVs();
        DataTable         dtUserCV  = objUserCV.GetUserCV(this.smUserID);

        ddlTotalWorkExperience.SelectedValue = dtUserCV.Rows[0]["TotalWorkExperience"].ToString();
        ImgBtnContinue.Visible = !(Convert.ToInt32(dtUserCV.Rows[0]["CvFocusCode"]) > (int)PIKCV.COM.EnumDB.CVFocusCode.References);
    }
Example #2
0
    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);
    }