protected void ButtonSubmit_Click(object sender, EventArgs e)
 {
     try
     {
         Employee emp = new Employee()
         {
             login = TextBoxLogin.Text,
             fname = TextBoxFname.Text,
             lname = TextBoxLname.Text,
             password = TextBoxPassword.Text,
             phone = TextBoxPhone.Text,
             adress = TextBoxAdress.Text,
             city = TextBoxCity.Text,
             experience = Byte.Parse(TextBoxExperience.Text)
         };
         EmployeeTable tb = new EmployeeTable();
         tb.Insert(emp);
         Response.Redirect("~/Employees/ListEmployee");
     }
     catch
     {
         Page.ClientScript.RegisterStartupScript(GetType(), "msgbox", "alert('Máš to špatně');", true);
     }
 }