[thelist] VB.NET 2.0 Connection String

Casey Crookston caseyc at IntelliSoftmn.com
Tue Jun 26 14:12:02 CDT 2007

This is not working either: "Name ConfigurationManager is not declared"  Only, from what I can read, referencing System.Configuration should solve this error!?!?!?!?!
Imports System.Data
Imports System.Data.SqlClient
Imports System.IO
Imports System.Configuration

Public Class Form1

Dim strCN As String = ConfigurationManager.ConnectionStrings("theConnStrName").ConnectionString


From: thelist-bounces at lists.evolt.org on behalf of Casey Crookston
Sent: Tue 6/26/2007 2:01 PM
To: thelist at lists.evolt.org
Subject: [thelist] VB.NET 2.0 Connection String

This should really be simple, but I am having a hard time with it.  In a vb.net 2.0 / VS 2005 app, I want to store my connection string in the app.config

More information about the thelist mailing list