コード例 #1
0
ファイル: uReferences.ascx.cs プロジェクト: jiqsaw/pikcv
    protected void Page_PreRender(object sender, EventArgs e)
    {
        PIKCV.BUS.UserCVs objUserReferences = new PIKCV.BUS.UserCVs();
        DataTable         dtUserReferences  = objUserReferences.GetUserReferences(this.smUserID);

        pnlNoRecord.Visible      = (dtUserReferences.Rows.Count < 1);
        pnlReferences.Visible    = !pnlNoRecord.Visible;
        rptReferences.DataSource = dtUserReferences;
        rptReferences.DataBind();
        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);
    }
コード例 #2
0
ファイル: uCVPreview.ascx.cs プロジェクト: jiqsaw/pikcv
    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);
    }