1.I tried to connect to a database through a
java class and I successfully extracted the required results.
2. When I try to connect to a database using an
Applet I am getting the following error:
"on the applet it is printing sun.jdbc.odbc.JdbcOdbcDriver"
Hear is the code:
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnectio("jdbc
dbc:sampleDSN","system","manager");
s = con.createStatement();
}catch (Exception e)
{results.setText(e.getMessage());}