Quantcast
Channel: Reading settings from app.config or web.config in .NET - Stack Overflow
Viewing all articles
Browse latest Browse all 29

Answer by sherite for Reading settings from app.config or web.config in .NET

$
0
0

Another possible solution:

var MyReader = new System.Configuration.AppSettingsReader();string keyvalue = MyReader.GetValue("keyalue",typeof(string)).ToString();

Viewing all articles
Browse latest Browse all 29

Trending Articles