linking to a document from a subfolder.

N

news.microsoft.com

Hello,
How can i link to a document in the root folder of my asp.net app. I do not
know at runtime wherein my subfolder i'm.
I just want to link to a document in my root folder.

Many Thanks in advance

JB
 
G

Guest

You mean like <a href="/mypage.html"> link</a>? Or if you mean in the root
of the application use Page.ResolveUrl("~/mypage.html") to get a link to the
application root.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top