View Single Post
Old July 23rd, 2004, 03:30 PM
bmains bmains is offline
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts


You can do it with appsettings, try:

ConfigurationSettings.AppSettings.Get("connectionS tring")

If that doesn't work, try:

Dim objKey As Specialized.NameValueCollection = ConfigurationSettings.AppSettings
Dim connectionString As String = objKey.Get("connectionString")