Last post Dec 29, 2009 02:54 PM by krishyy
Dec 20, 2009 05:18 PM|ismailae|LINK
I am designing an ASP.NEt website that uses an ACCESS DATABASE.The Database File is located in my Root Folder and i can connect very well now because its still on my System.....Am confused on how the connectionstring should look if i want to deploy the site.
Dec 20, 2009 07:07 PM|hans_v|LINK
You should not put your database in the root, because than it can be downloaded! Put your database in the App_Data folder, which is a special folder which will protect all files from being downloaded. Use
as the path in your connectionstring
Dec 29, 2009 02:54 PM|krishyy|LINK
<add name="XYZ" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=xyz.mdb"/>