ConnectionString in ASP.Net
What is the difference in writting ConnectionString as part of section and in section in Web.Config?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek JaiswalRank #126 · 17.5K reputationPosted May 13, 2014, 5:15 AM EDT
The connectionStrings element specifies a collection of database connection strings, as name/value pairs, for ASP.NET applications and features.
In previous versions of ASP.NET, connection strings were stored in the appSettings. In ASP.NET 2.0, features, such as Session, Membership, Personalization, and Role Manager, rely on connection strings that are stored in the connectionStrings element. You can also use the connectionStrings element to store connection strings for your own applications.
for more info go through this
http://msdn.microsoft.com/en-us/library/ms254494(v=vs.110).aspx
:)
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted May 13, 2014, 5:15 AM EDT
Khan Abrar AhmedRank #778 · 3K reputationPosted May 13, 2014, 5:17 AM EDT
http://www.connectionstrings.com/store-connection-string-in-webconfig/