How do I replace the path of my db with a variable?
Code:<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/MYDB.mdb"
Printable View
How do I replace the path of my db with a variable?
Code:<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/MYDB.mdb"
By creating your datasource in the codebehind and settings its properties from there.