G
Guest
Hi I have a connection string defined in the webconfig file as
<connectionStrings>
<add name="employee-devConnectionString" connectionString="connectioninfo"
providerName="System.Data.SqlClient" />
</connectionStrings>
In the code a create a connection and then set the string as
SqlConnection1.ConnectionString="connectioninfo";
I would like to use the connection string I have set up in the web.config
but not sure
the code I need on the webpage? I am using 2005,thanks.
<connectionStrings>
<add name="employee-devConnectionString" connectionString="connectioninfo"
providerName="System.Data.SqlClient" />
</connectionStrings>
In the code a create a connection and then set the string as
SqlConnection1.ConnectionString="connectioninfo";
I would like to use the connection string I have set up in the web.config
but not sure
the code I need on the webpage? I am using 2005,thanks.