你在61行还得try  catch 一把!!!!!!!!

解决方案 »

  1.   

    When you do SQL operations,You must add try&catch in your code,such as:
    try{
      Connection Cn=DriverManager.getConnection("jdbc:odbc:aa","aa","aa");
       Statement sql=Cn.createStatement();
       ResultSet rs=sql.executeQuery("select * from aa");
       ..........
       ..........
     }
    catch(Exception e) {
      System.out.println(e);
    }
      

  2.   

    这又是什么错误:
      java.lang.ClassNotFoundException: sun.jdbc.odbc.jdbcodbcdriver
      

  3.   

    rivershirley(茉莉茉莉) 请给以回答
      

  4.   

    http://www-900.ibm.com/developerWorks/cn/java/jdbc-objects/index.shtml
      

  5.   

    回复人: lazyfox(死狐狸) (  ) 信誉:100  2002-08-29 15:24:00  得分:0  
     
    http://www-900.ibm.com/developerWorks/cn/java/jdbc-objects/index.shtml
      
     
    Look at it,and you'll find the answer.
    Good luck!:)