Author: MyronCope | Posted on: 6/20/2007 11:48:30 AM | Views : 681

I have a vb.net 2005 application and I am trying to use the following line to create my connection object:

<CODE>

Dim connDB As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("someConnectionString").ToString)

</CODE>

but when i do this I get a "name "configurationManager" is not defined" error.  I am thinking that I need to either add a dll or a reference to my project.

Is this right and how do I do this?  thanks much
...

Go to the complete details ...