Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Web config ques
March 14, 2009
How can i create dynamic connection string in webconfig ? because currently what i use needs to be changed if i run it on different PC.
i.e attachDBFile takes static Path.
Posted Date: March 16, 2009 Points: 5
There are Many ways to Do that ,
In your Case you say it has to change only when its in the Different PC, then if its like that. On your websetup Project, Give your users an option to Change the webconfig, by requesting something like Name of their Server and Database, user id and password and through a installer class Update the Webconfig accordingly.
Hope it Helps
To post reply
Related Questions Related Questions
Any alternative to using web.config file
dynamic sql connection string in web config file
How to modify web.config file dynamically?
Windows Application- app.config
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend