package jj;
import java.sql.*;
import java.lang.*;
public class Student{
static Statement st;
static ResultSet rs;
static Connection n;
public static void main(String args[]){
try{
System.out.println("Drever..");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("Hey driver is intall readly");
}catch(ClassNotFoundException e){
System.out.println("No class");
}
try{
System.out.println("Connection");
n=DriverManager.getConnection("jdbcdbc:Addressbook");
System.out.println("Connection ok");
st=n.createStatement(rs.TYPE_SCROLL_SENSITIVE,rs.C ONCUR_READ_ONLY);
rs=st.executeQuery("select* from Addressbook");
rs.beforeFirst();
while(rs.next()){
System.out.println(rs.getString(1)+'\t'+'\t');
System.out.println(rs.getString(2)+'\t'+'\t');
System.out.println(rs.getString(3)+'\t'+'\t');
System.out.println(rs.getString(4)+'\t'+'\t');
}
st.close();
rs.close();
n.close();
}catch(SQLException ex){
System.err.println("Sql error"+ex.getMessage());
}
}
}
ႈIt cannot put data to access database .And show this error message " Sql error[Microsoft][ODBC Microsoft Access Driver] The Microsoft Office Access database engine cannot find the input table or query 'Addressbook'. Make sure it exists and that its name is spelled correctly." Why?? Please help me