N
nbs.tag
hey guys heres my question. I was told by a little birdie that .net 2.0
has the ability to read a connection string directly from a registry
key. so in the registry key a string value of say :
database=northwind;user=username;password=pw; is stored at
software/myApp/connSTR in the registry, i was told its possible to just
place
<connectionStrings>
<add name="asd"
connectionString="value=registry:HKLM\SOFTWARE\myApp/connSTR;"
</connectionStrings>
or somehting of the sorts in the web.config file and it could read the
string back. Is this possible and if so, what would be the correct
format for soing so?
has the ability to read a connection string directly from a registry
key. so in the registry key a string value of say :
database=northwind;user=username;password=pw; is stored at
software/myApp/connSTR in the registry, i was told its possible to just
place
<connectionStrings>
<add name="asd"
connectionString="value=registry:HKLM\SOFTWARE\myApp/connSTR;"
</connectionStrings>
or somehting of the sorts in the web.config file and it could read the
string back. Is this possible and if so, what would be the correct
format for soing so?