D
D. Shane Fowlkes
I'm trying out a whole bunch of new (to me) techniques. Using asp.net 2
(vb), can someone correct my connection syntax. The problem seems to be
that I'm not properly referening the config settings in my aspx page.
Thanks!
Compiler Error Message: BC30456: 'connectionStrings' is not a member of
'Configuration'.
strConnectString = System.configuration.connectionStrings("DRPTWeb")
My web.config file:
<configuration>
<connectionStrings>
<add name="DRPTWeb" connectionString="Data Source=DRPT-DEV01;Initial
Catalog=DRPT....etc....." providerName="System.Data.SqlClient" />
</connectionStrings>
(vb), can someone correct my connection syntax. The problem seems to be
that I'm not properly referening the config settings in my aspx page.
Thanks!
Compiler Error Message: BC30456: 'connectionStrings' is not a member of
'Configuration'.
strConnectString = System.configuration.connectionStrings("DRPTWeb")
My web.config file:
<configuration>
<connectionStrings>
<add name="DRPTWeb" connectionString="Data Source=DRPT-DEV01;Initial
Catalog=DRPT....etc....." providerName="System.Data.SqlClient" />
</connectionStrings>