J
Jim Heavey
When I use the command to retrieve the information, nothing comes back,
what am I doing wrong?
Here is my code...
private string connString =
System.Configuration.ConfigurationSettings.AppSettings["ConnectStr"];
I'm working on a WINDOWS application.
I created a configuration file with the name of "MyProjectName.exe.config".
I loaded the following configuration information into the file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectStr"
value="MyConnectionString />
<add key="DataBase"
value="VideoStore"/>
<add key="DbOwner"
value="jheavey"/>
</appSettings>
</configuration>
Thanks in advance for your assistance!!!!!!!!
what am I doing wrong?
Here is my code...
private string connString =
System.Configuration.ConfigurationSettings.AppSettings["ConnectStr"];
I'm working on a WINDOWS application.
I created a configuration file with the name of "MyProjectName.exe.config".
I loaded the following configuration information into the file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectStr"
value="MyConnectionString />
<add key="DataBase"
value="VideoStore"/>
<add key="DbOwner"
value="jheavey"/>
</appSettings>
</configuration>
Thanks in advance for your assistance!!!!!!!!