Yes...

By Onur Tosyali

Get project folder path into .aspx

In the masterpage, we define
public string psAppPath;

and we set it at Page_Load as
psAppPath = Request.ApplicationPath;

Then we call to it in the aspx file and reach wherever we want to reach in main folder.

No comments:

Post a Comment