Can one use a variable in the Server.MapPath definition? And if so, what would the correct syntax be?
I have a line of code that reads:
strDBPath = Server.MapPath("..\..\db\masterdb.mdb")
I want to use a variable for the db file name eg:
currentDb = masterdb.mdb
I have a line of code that reads:
strDBPath = Server.MapPath("..\..\db\masterdb.mdb")
I want to use a variable for the db file name eg:
currentDb = masterdb.mdb