public bool Eliminar() { DAL.ConexionDb con = new DAL.ConexionDb(); con.EjecutarDB("delete from Profesores where=" + IdProfesor); return true; }