linking to a document from a subfolder.

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
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
 
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

Back
Top