0
Answer

Request.ApplicationPath Help please

Mic keeey

Mic keeey

16y
2.1k
1
Hi,
Does any of you know how to use "Request.ApplicationPath"?
Ive tried looking on the internet but Im not quite understanding where you would put it in the code e.g. like in the web config or the css file etc.

Also I was wondering whether anyone could give me an example of how to use this.

For my project I have created a table in SQL that stores the paths to the reports that I have created using Crystal Reports. In the tables i want to get rid of the full path and just have the reports name e.g. \reports\reports.rpt

and in my code i want to use the Requet.ApplicationPath in order to make my code more dynamic.

I hope this makes sense and any help would grately be appreciated.

Thanks