Hi there,
You can't do this directly. However, I have implemented this in the past by using two separate config settings. One for the database folder name, and one for the rest.
Then at run-time, retrieve the foldername, use Server.MapPath to translate the path into a physical path, and append it to the rest of the connection string.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
North West Three by
Fatboy Slim (Track 8 from the album:
Palookaville)
What's This?