protected void btnDeleteWaiterOrDirect_Click(object sender, EventArgs e) { //delete empployee account try { EmployeeInfo employee = new EmployeeInfo(); employee.Name = RadioButtonDirector.SelectedValue.ToString(); employee.DeleteEmployee(); Response.Redirect("Menu_designer.aspx"); } catch (Exception ex) { lblError2.Text = ex.Message; } }//end delete employee account button