Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading values from app.config
Message
From
02/04/2013 10:59:22
 
 
To
02/04/2013 10:16:17
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01569562
Message ID:
01569740
Views:
33
>when I try that I get a message that I cannot implicitly convert the value to a string so I need to add ".ToString()".
>
>Is that expected?


Sorry Frank, I goofed. My bad ... it should have been:
string connString = ConfigurationManager.ConnectionStrings["QueueLocal"].ConnectionString;
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform