H
HaVoK
Hello,
i am developing a website and want to use the connectionstring of my
web.config in other sites.
i have a connectionstring in my web.config like this:
<configuration>
<appSettings/>
<connectionStrings>
<add name="Test.My.Settings.conni" connectionString="*******"
providerName="System.Data.SqlClient" />
</connectionStrings>
i have found a lot of examples for windows applications like this.
connection = My.Settings.conni
but the parameter My.Settings is not available in my Website-Project.
only my.user, e.g.
How can i use this connection in my Website? is there any way?
Best regards
Benjamin
i am developing a website and want to use the connectionstring of my
web.config in other sites.
i have a connectionstring in my web.config like this:
<configuration>
<appSettings/>
<connectionStrings>
<add name="Test.My.Settings.conni" connectionString="*******"
providerName="System.Data.SqlClient" />
</connectionStrings>
i have found a lot of examples for windows applications like this.
connection = My.Settings.conni
but the parameter My.Settings is not available in my Website-Project.
only my.user, e.g.
How can i use this connection in my Website? is there any way?
Best regards
Benjamin