Hi,
I have to use a lot of times the connection i have created in my project, but i can see that a lot of times, when i debug the project, the connection does not open even if i have coded it to be opened.
I have declared the connection string one at the beginning of the project , like this
Private objConn as sqlConnection
strConnString = "Initial Catalog = THESAURUS; integrated security = SSPI"
objConn = New sqlConnection(strConnString)
and after i do like this to open or close it
objConn.Open or objConn.close
Thanks a lot for your help.
Best regards.
Nathalie
I have to use a lot of times the connection i have created in my project, but i can see that a lot of times, when i debug the project, the connection does not open even if i have coded it to be opened.
I have declared the connection string one at the beginning of the project , like this
Private objConn as sqlConnection
strConnString = "Initial Catalog = THESAURUS; integrated security = SSPI"
objConn = New sqlConnection(strConnString)
and after i do like this to open or close it
objConn.Open or objConn.close
Thanks a lot for your help.
Best regards.
Nathalie