M
mike
Hello.
I'm creating a class library. I've added an App.Config that looks like the
file at the end of this email.
I've tried just about everything to retrieve the ConnectionString in the
classes constructor but have had no success - I get "Nothing". I'm going
nuts.
How do I get the connection string?
Thanks in advance,
Mike
Here it is:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectionString" value="Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=SessionState;Data
Source=DPWEBDEVHOST;Use Procedure for Prepare=1;Auto Translate=True;Packet
Size=4096;Workstation ID=DP2243;Use Encryption for Data=False;Tag with
column collation when possible=False"/>
</appSettings>
</configuration>
I'm creating a class library. I've added an App.Config that looks like the
file at the end of this email.
I've tried just about everything to retrieve the ConnectionString in the
classes constructor but have had no success - I get "Nothing". I'm going
nuts.
How do I get the connection string?
Thanks in advance,
Mike
Here it is:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectionString" value="Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=SessionState;Data
Source=DPWEBDEVHOST;Use Procedure for Prepare=1;Auto Translate=True;Packet
Size=4096;Workstation ID=DP2243;Use Encryption for Data=False;Tag with
column collation when possible=False"/>
</appSettings>
</configuration>