What are you failing with? Make sure you have your data source/DB setup via
control panel. The following pice of code shows how I connect to a ms access
database called myDB.
// Load the driver class
// Define the data source for the driver
String sourceURL = "jdbc:odbc:myDB";
// Create a connection through the DriverManager
Connection databaseConnection =
"Zee" <email@example.com> wrote in message
> Hi All
> I am trying to connect with MS Access database but faild. Please let me
> what are the alternatives, so that I can connect to an Access Database.
> Thanks in Advance