universal connection b/w c# & MS ACCESS
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
hi, i want to know how a universal conection can be built so that my programe with a small dataBase file can be opened on the others pcs as well without giving a new connection string.giving connection string at every other pc ,i want to avoid this.
You need the physical address of the database file to open the connection, but if you place the database file at the same relative position to the executable all the time, you can create the path by getting the path of the executable and add the relative path to the database.
--- Year happy = new Year(2007);