If I enter a link into the web.config, how would I reference it on my asp.net page?

Tor Life

New member
I was planning on something like this:

<setting name="FlyerA" serializeAs="String">
<value>http://www.website.com/Docs/FlyerA.pdf</value>
</setting>

My intentions are to use this link throughout the website where ever I'd like, but I don't want to have any extra code in code-behind. Help! :) I need a better suggestion if I'm on the right track, and I'd like to try to do with without using master pages if at all possible. So really...

What would the HTML code look like to reference the link?
I forgot to mention that I intend to have that web.config under the <appsSetting> node.
<appSettings> ;)
 
Back
Top