C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Advantage of keeping Connection String in Web.Config


Posted Date: 05 Sep 2008      Posted By: Mahima      Member Level: Silver     Points: 1   Responses: 2



Can any1 tel d Advantage of keeping Connection String in Web.Config




Responses

Author: Priya    05 Sep 2008Member Level: SilverRating: 3 out of 53 out of 53 out of 5     Points: 3

When you want to change the datbaase name or database path during the hosting migration, you need not change the connection string in all the pages. you need to change it in only one place ie, web.config. SO it is easy to maintain the code.


Author: UltimateRengan    05 Sep 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

hi,
http://www.c-sharpcorner.com/Blogs/BlogDetail.aspx?BlogId=767
check this

Advance Happy Diwali
SAP B1



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : DBF(Foxpro database) to MS access(MDB) file converted
Previous : Doubt
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use