I have an Access database that can be opened with the following connection string:
I have created a System DSN that points to this database. Question is: Can I use the DSN in the connection string instead of hard coding the full path name?
tia,
flynn
Code:
conn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Databases\GFM.mdb;User Id=admin;Password=;")
I have created a System DSN that points to this database. Question is: Can I use the DSN in the connection string instead of hard coding the full path name?
tia,
flynn