المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Problem with changing connection string that saved in app.config



C# Programming
10-09-2009, 06:30 AM
Hi
i want to change connection string that saved in app.config (which created in visual studio wizard dialog).
i changed some Settings.Designer.cs code which described in this thread (http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/2013ab40-9b35-4a28-bdb3-f173593bcdbc/)[^ (http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/2013ab40-9b35-4a28-bdb3-f173593bcdbc/)] to make that editable. that's works good when i change it at runTime and load it again, but when i exit from my app and look at my saved properties, it's again backed to earlier settings (before my edit).
what's the problem and how to solve this ?
thanks