Wanting to deploy my project on different servers I would prefer to be able to specify a connect string using a relative path. I can\'t seem to get that to work and want to
How about this?
"Data Source=|DataDirectory|mydb.db;..."
I believe |DataDirectory| point to the directory where your app is located. I use NHibernate and it works with the following:
|DataDirectory|