Esempio n. 1
0
    private void PopulateJobPostingTable(int jobID)
    {
        PRMS RequestDirector;

        RequestDirector = new PRMS();

        JobPosting jobPosting;

        jobPosting = RequestDirector.GetJobPosting(jobID);
        JobPostingDescription.Text = jobPosting.Description;
        CompanyName.Text           = jobPosting.CompanyName;
        CompanyPhone.Text          = jobPosting.EmployerPhone;
        Date.Text = jobPosting.Date.ToString("yyyy-MM-dd");
        //Someting for skillsets
        Session.Clear();
        skillsetsLabel.Text = "";
        foreach (Skillset skill in jobPosting.Skillsets)
        {
            AddSkill_Click(skill.SkillsetID, skill.Description);
        }


        Profession.SelectedValue = jobPosting.ProfessionID.ToString();
        Region.SelectedValue     = jobPosting.RegionID.ToString();
    }