Commit 476d88b3 authored by Alahakoon K.M.R.A.B's avatar Alahakoon K.M.R.A.B

Add new vhmfile

parent 9020e4b2
Pipeline #5616 failed with stages
public class DBConnect {
public static Connection connect() {
Connection con=null;
try {
Class.forName("org.sqlite.JDBC");
con=DriverManager.getConnection("jdbc:sqlite:TimeTableManager.db");
System.out.println("Connected");
}catch (ClassNotFoundException | SQLException e) {
System.out.println(e+"");
}
return con;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment