I have a string in my web.config:
<configuration>
<appSettings>
<add key="email1" value="mailto:[email protected]" />
</appSettings>
</configuration>
I want to use that setting in that way (see below):
<p>Write me here: <asp:HyperLink ID="HyperLink503" runat="server"
NavigateUrl=<%= ConfigurationManager.AppSettings["email1"] %>>my e-mail</asp:HyperLink>.</p>
However, i get an error. I tried to use a quotes in NavigateUrl, but I get same error. Please, correct my code so it can works.
Thanks in advance !