jdbc problem
807607Nov 3 2006 — edited Nov 3 2006whem i try to execute this pgm.,it will give me an error that
ERROR CANNOT LOAD RESOURCE FILE SQRESUS.DLL
plz help me and solve my problem
java.sql.*;
public class mew
{
Connection con;
public mew()
{
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:dsn1","scott","tiger");
System.out.println("connection sucessfully");
}
catch(Exception e)
{
System.out.println(e);
}
}
public static void main(String sr[])
{
mew m=new mew();
}
}