The web hosting company asked me to save my database in this folder:
/USER/DB
How do I change this line :
Code:<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/mydatabase.mdb"
They told my I can save my html or aspx files in this directory
/USER/WWWROOT
Now my website doesn't work because I have to change my database path to point directly to the /USER/DB , I tried to modify it like this ,
Code:<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="../DB/mydatabase.mdb"
but it didn't work !


Reply With Quote
