Connecting to SQL Server 2000 using JDBC

Hello,

I'm trying to fix a connection to sql server 2000 using JDBC with jtds (an excutable JAR File).

So, I have first to load this jtds driver:

import java.sql.*;

class ..{

Class.forName("net.sourceforge.jtds.jdbc.Driver");

..

}

As you c, all i imported is java.sql.* to declare a Connection , Statement, ResultSet, .. etc

Do I have to import anything from jtdc? and where should this file be uploaded, cauz i did it with JBuilder and I don't know if it's the right way and in the right directory !! ..

plz anybody help and thanks in advance

Chaib

[769 byte] By [Boucharafaa] at [2007-11-26 22:29:24]
# 1
your jtdc jar files must be in the classpath.Vinod
vinodkbyreddya at 2007-7-10 11:33:21 > top of Java-index,Java Essentials,New To Java...