Unhandled exception type SQLException
摘要:
两种解决方法,第一种:try{ while(rs.next()) { System.out.println("id"+rs.getString(1)); System.out.println("name"+rs.getString(2)); } }catch(Exception e){ }用try,catch包含第二种:throwsSQLException一下 阅读全文
posted @ 2011-12-09 23:07 渔夫2011 阅读(628) 评论(0) 推荐(0) 编辑