将 jdbc驱动程序包加入你的classpath中,不用配置,一般。
调用
例:
Class.forName( "com.inet.tds.TdsDriver" );Connection conn = DriverManager.getConnection(....);

解决方案 »

  1.   

    http://www.csdn.net/expert/topic/750/750375.xml?temp=.4647028
    http://www.csdn.net/expert/topic/749/749928.xml?temp=.1768
    http://www.csdn.net/expert/topic/750/750775.xml?temp=.9965021
    看看吧
    应该就能明白了
      

  2.   

    将驱动程序的打包文件放在类路径中;然后使用
    Class.forName( "驱动程序名" );来装载这个驱动程序,就可以使用DriverManager.getConnection(url,username,userpwd)来获取连接了
      

  3.   

    如果你已经下载完了,安装后,将D:\Program Files\Microsoft SQL Server 2000 JDBC\lib下的,三个.jar拷贝到你的一个地方,在classpath中需要添加.jar的路径!
      

  4.   

    将驱动程序的打包文件放在类路径中;然后使用
    Class.forName( "驱动程序名" );来装载这个驱动程序,就可以使用DriverManager.getConnection(url,username,userpwd)来获取连接了
    http://www.csdn.net/expert/topic/750/750375.xml?temp=.4647028
    http://www.csdn.net/expert/topic/749/749928.xml?temp=.1768
    http://www.csdn.net/expert/topic/750/750775.xml?temp=.9965021
    看看吧
    应该就能明白了
      

  5.   

    我已经下载完了,“*/Class.forName( "驱动程序名" );/*”
    那么请问,mssql,access,mysql那么多数据库他们的驱动程序名字是从哪里来的,????谢谢拉
      

  6.   

    阅读jdbc的readme and document
      

  7.   

    非常感谢 worldheart(愛してる) 在qq中的帮助问题已基本解决谢谢各位拉