protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        if (validation() == false)
        {
            return;
        }

        string        name = TextBox1.Text.ToString().TrimEnd();
        int           pn   = Int32.Parse(DropDownList1.SelectedItem.ToString());
        DateTime      od   = Calendar1.SelectedDate;
        DateTime      cd   = Calendar2.SelectedDate;
        string        test = DropDownList2.SelectedItem.ToString();
        string        form = DropDownList3.SelectedItem.ToString();
        int           Ey   = Int32.Parse(DropDownList4.SelectedItem.ToString());
        string        Er   = TextBox4.Text.ToString();
        Employee_pros ep   = new Employee_pros();

        ep.addPosition(name, pn, od, cd, test, form, Ey, Er, Session["user"].ToString().TrimEnd());
        Response.Redirect("CheckPositions.aspx");
    }