You have to write it like this: try{ for (int i = 0; i < itemCount; i++) { combo.removeItemAt(0); } rs = stmt.executeQuery("select * from ...
確定! 回上一頁