|
|
<appSettings>
<add key="someurl" value="http://www.dotnetcurry.com" />
</appSettings>
Now read this entry from the web.config using AppSettings
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="<%$ Appsettings:someurl %>" Text="Click Here">
</asp:HyperLink>
'Like' us on our FaceBook page if you find this blog useful. Thanks!
Did you like this post?
|
|
|
||
|
|
|
|
Save on Delicious |
|
|
subscribe via rss |
|
subscribe via e-mail |
|
|
print this post |
|
follow me on twitter |




comments
1 Response to "Creating a Dynamic Hyperlink in ASP.NET using the Web.Config"Thanks! This helped me.
Post a Comment