Please use html tags to format code blocks. Hi every one I was trying to connect to the access database using jdbc. I have created a dsn for the database and used it in the code. But i wanted to connect to the database without using the dsn i.e i should be able to give the database file name in my connection string. I am using jdbcodbc bridge driver to connect to the database. Please let me know what i should give as parameters in the DriverManager.getConnection() method.for you information i dont have any username and password for the database. Thanks, Peri
More>>

Please use html tags to format code blocks.

Hi every one I was trying to connect to the access
database using jdbc. I have created a dsn for the database

and used it in the code. But i wanted to connect to the
database without using the dsn i.e i should be able to give the database file name in my connection string.

I am using jdbcodbc bridge driver to connect to the database.

Please let me know what i should give as parameters in the DriverManager.getConnection() method.for you information i dont have any username and password for the database.