You are on page 1of 3

Go to Control Panel

Select Administrative tools


Select ODBC

Press Add Button


From the list select the driver you want (in our case Microsoft Access Driver (*.mdb,*.accdb)

When we press finish, it will ask for DSN Name

Give the dsn name and select the database using the select button and give OK.

This will end the database connectivity with odbc, now using the code and giving the dsn name
we can access the database.

You might also like