C Claudia Fong Oct 15, 2007 #1 Hi, Is it possible to read the webconfig values from the server side? Cheers! Claudi
A Alexey Smirnov Oct 15, 2007 #2 Hi, Is it possible to read the webconfig values from the server side? Cheers! Claudi *** Sent via Developersdexhttp://www.developersdex.com*** Click to expand... Take a look in the ConfigurationManager Class An example: string cs = ConfigurationManager.AppSettings["ConnectionString"]; returns a string from the appsettings section <appSettings> <add key="ConnectionString" value="..."/> </appSettings>
Hi, Is it possible to read the webconfig values from the server side? Cheers! Claudi *** Sent via Developersdexhttp://www.developersdex.com*** Click to expand... Take a look in the ConfigurationManager Class An example: string cs = ConfigurationManager.AppSettings["ConnectionString"]; returns a string from the appsettings section <appSettings> <add key="ConnectionString" value="..."/> </appSettings>