O
Oleg Slyuasrchuk
Is there any way to get appication settings from web.config file at design time?
Is it possible in principal?
Both:
n= new AppSettingsReader().GetValue("MyApplicationName", typeof( string )).ToString();
n= (string)System.Configuration.ConfigurationSettings.AppSettings.Get("MyApplicationName");
return correct values at run time, and return null at design time.
Thanks
Is it possible in principal?
Both:
n= new AppSettingsReader().GetValue("MyApplicationName", typeof( string )).ToString();
n= (string)System.Configuration.ConfigurationSettings.AppSettings.Get("MyApplicationName");
return correct values at run time, and return null at design time.
Thanks