M
Matt
I added the connection string in web.config as follows:
<appSettings>
<add key="connString" value="Integrated Security=SSPI;Persist Security
Info=False;Initial Catalog=MY_DATABASE;Data Source=IP_ADDRESS" />
</appSettings>
In mypage.aspx.vb page, I open the connection with connString variable:
Dim conn As New SqlConnection(connString)
But it has compile error:
name 'connString' is not declared.
Any ideas?
<appSettings>
<add key="connString" value="Integrated Security=SSPI;Persist Security
Info=False;Initial Catalog=MY_DATABASE;Data Source=IP_ADDRESS" />
</appSettings>
In mypage.aspx.vb page, I open the connection with connString variable:
Dim conn As New SqlConnection(connString)
But it has compile error:
name 'connString' is not declared.
Any ideas?