I download an open source code for Hotel Reservation System
but I can't open it because error in connection with the database
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:htl");
}
catch(Exception e)
{
t1.setText("Error in Connection ");
}
}
