k = Integer.parseInt(prub.getText()); ResultSet rs = statement.executeQuery("SELECT Id,Medico_solic FROM Datos where Id = " + k);