Last post Apr 17, 2017 03:21 AM by Cathy Zou
Apr 14, 2017 10:05 PM|miltank09|LINK
I'm using the FileCopy, I already got the Source path, what I want is to get the path where my DB is placed (it's in the project name, folder "release"), but I don't want to set a only path in the Destination, because it might change, the project path's
folder might be placed on anywhere in the PC, is it possible to do?
Apr 17, 2017 03:21 AM|Cathy Zou|LINK
For your problem, I suggest you could ty to use Server.MapPath() method to maps the specified relative or virtual path to the corresponding physical directory on the server.
For the usage of Server.MapPath(), please refer to the following links: