1: 2: 3: 4: 5: 6: 7:
this is returning the proper connection string ------------------------------------------------ Public Shared Function GetNewOpenDbConnection() As SqlConnection Dim connection As SqlConnection = New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings("Db1ConnectionString").ConnectionString) connection.Open() Return connection End Function