So I’m using C# and I’ve got the following SQL connection string:
private static string _conn = Properties.Settings.Default.dBizConnectionString;
And I’d like to know if and how I can put it in the web config and app config? Thanks for the help!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a blog post from Scott Forsyth explaining everything:
Using Connection Strings from web.config