I am trying to save a website address in the appSettings section of the web.config file. The url has two querystring parameters at the end of the url, so I need to use the and character. When I hardcode the URL in the code file, it works if I replace "&" . In the configuration file, these letters are red. I tried both "&" and "&" in the configuration, and both of them turn red, and I cannot read them from the code file. Can someone tell me how to do this to make it work?
Thanks,
EDIT:
It looks like he hasn't read anything from appSettings. I use this line to get the settings.
String surveyLink = ConfigurationManager.AppSettings["SatisfactionSurveyLink"];
source share