R
Romain TAILLANDIER
hi group
i have a probleme, it seems a stupid and easy-to-solve problem
but i can't solve it anyway
i have a database named MyDB.sdf, and it is at root :
\MyDB.sdf
it is not good for me to have it at root, so i want to move it in :
\Program Files\myApp\MyDB.sdf
i was using a connection string which is exactly that and perfectly working
:
"Data Source = MyDB.sdf;"
to move my DB in the rep i want, i try this:
"Data Source = Program Files\MyApp\MyDB.sdf;"
but it doesn't work. i try a few others like this one but it never work...
wich is the correct conenction string please ?
thanks for help,
ROM
i have a probleme, it seems a stupid and easy-to-solve problem
but i can't solve it anyway
i have a database named MyDB.sdf, and it is at root :
\MyDB.sdf
it is not good for me to have it at root, so i want to move it in :
\Program Files\myApp\MyDB.sdf
i was using a connection string which is exactly that and perfectly working
:
"Data Source = MyDB.sdf;"
to move my DB in the rep i want, i try this:
"Data Source = Program Files\MyApp\MyDB.sdf;"
but it doesn't work. i try a few others like this one but it never work...
wich is the correct conenction string please ?
thanks for help,
ROM