public void insert(string vac, string rbd, string expp, string loc)
    {
        IVacancyManager v = VacancyManagerFactory.CreateVacancyManager();

        int      posit    = Convert.ToInt32(vac);
        DateTime req      = Convert.ToDateTime(rbd);
        string   skills   = skilltb.Text;
        string   domain   = domlable.Text;
        int      exp      = Convert.ToInt32(expp);
        string   location = loctb.Text;
        int      uid      = (int)Session["uid"];
        int      aprved   = 1;

        if (uid == 0)
        {
            aprved = 3;
        }
        int vacancyRequestID = (int)Session["vacancyRequestID"];
        int vacancyID        = v.InsertVacancy(posit, req, skills, domain, exp, location, aprved, vacancyRequestID);

        count++;
        DropDownList1.SelectedItem.Enabled = false;
        Label1.Visible = true;
        Label1.Text    = "generated vacancy id :";
        Label2.Visible = true;
        Label2.Text    = vacancyID.ToString();
        System.Threading.Thread.Sleep(1000);
    }