simple stuff, I want to use App_Data as my db storage folder.
How can I reference App_Data in my connString.
<add name="ConnectionString" connectionString="Data Source=mydb.sqlite; ..." />
<add name="ConnectionString"
connectionString="Data Source=|DataDirectory|\MyDb.sqlite;......" />
The |DataDirectory|
token would expand to an App_Data
folder under the root of a web application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With