I have been to and the code doesn't work!!!
The Imports line give me an error....
And I am assuming that this is my connectionstring:
"Data Source=Aron1;Initial Catalog=pubs;User Id=sa;Password=asdasd;"
if so why is the 3rd line below spelled:
"my connectionstring"
and not
myconnectionstring
no space and no quotes ??
Imports System.Data.SqlClient
Dim oSQLConn As SqlConnection = New SqlConnection()
oSQLConn.ConnectionString="my connectionstring"
oSQLConn.Open()
thanks
jeff
The Imports line give me an error....
And I am assuming that this is my connectionstring:
"Data Source=Aron1;Initial Catalog=pubs;User Id=sa;Password=asdasd;"
if so why is the 3rd line below spelled:
"my connectionstring"
and not
myconnectionstring
no space and no quotes ??
Imports System.Data.SqlClient
Dim oSQLConn As SqlConnection = New SqlConnection()
oSQLConn.ConnectionString="my connectionstring"
oSQLConn.Open()
thanks
jeff