Sure. You can only put string literals into a config file.

Signature
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Ambiguity has a certain quality to it.
>I am trying to place a connection string in the appSettings section of my
>web.config. I use C#.
[quoted text clipped - 10 lines]
>
> Jim
MasterGaurav - 23 Oct 2005 02:24 GMT
Configuration file is not a code. So, no "+" etc allowed.
Incase you are bothered about the connection string, you can lookup at:
http://www.connectionstring.com
--
Cheers,
Gaurav Vaish
http://mastergaurav.org
----------------------
Treat this is as XML file. You might also want to check on special
characters that you might want to use. Use encoded characters.
In this case Gaurav already has given a valid anser.
Jim McGivney - 23 Oct 2005 19:51 GMT
My work-around:
I use three different appSettings keys, and then retrieved and combined them
in the C# code.
Thanks for yor help.
Jim
> Treat this is as XML file. You might also want to check on special
> characters that you might want to use. Use encoded characters.
>
> In this case Gaurav already has given a valid anser.