遇到的JDBC的一个问题

使用rs.next()提示"Unhandled exception type SQLException"
rs 为ResultSet的实例

不知是为什么但解决方法如下
throws SQLException一下,偶然发现的-_-!,可能是未绑定一定要throws,
posted @ 2007-03-02 09:54  fishert  阅读(324)  评论(0编辑  收藏  举报