C
Charlie
Hi:
I created a config file to retrieve DSN at runtime from a C# library project
(DLL). I name the file same as DLL (libRADIUS.config). Here is the
contents of the file...
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="dsn" value="server=arwen;uid=;pwd=;database=dbRadius" />
</appSettings>
</configuration>
I'm accessing from a class using...
string dsn = ConfigurationSettings.AppSettings["dsn"];
The problem is that it always returns null. Does anybody know why?
Thanks,
Charlie
I created a config file to retrieve DSN at runtime from a C# library project
(DLL). I name the file same as DLL (libRADIUS.config). Here is the
contents of the file...
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="dsn" value="server=arwen;uid=;pwd=;database=dbRadius" />
</appSettings>
</configuration>
I'm accessing from a class using...
string dsn = ConfigurationSettings.AppSettings["dsn"];
The problem is that it always returns null. Does anybody know why?
Thanks,
Charlie