As Christopher pointed out, you will need permissions on the
config.file. The new System.Configuration namespace contains new
classes for working with configuration files (using the
ConfigurationManager). It is best documented in the "Protected
Configuration" topics for ASP.NET apps, but can also be applied to
Windows apps. See also "Storing and Retrieving Connection Strings" http://msdn2.microsoft.com/en-us/library/ms254494.aspx for some sample
code demonstrating reading and writing to the connectionStrings
section.
--Mary
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.