Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to read text file and this values how to update in app.config?
Posted
Comments
OriginalGriff 12-Apr-11 6:03am    
I'm sure English is not your native language, but it is the default language for this site.
In English, your question makes no sense at all.
Please, either try to find a better translation of your question to English, or find a site in your own native language, as they may be able to help you better than we can!

Look at this cp article.
Read/Write App.Config File with .NET 2.0[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 12-Apr-11 13:23pm    
It should be enough, a 5.
--SA
m@dhu 13-Apr-11 0:28am    
Thanks SA.
Try this:
foreach (string key in ConfigurationManager.AppSettings)
{
//Get your key
string value = ConfigurationManager.AppSettings[key];
this.Url = value;
}

For more details, check this link: Reading Keys from App.Config
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900