G
Guest
Hi,
I was able to connect to the SQL server 2000 in the network using the code below.
Dim cn As SqlClient.SqlConnection
cn = New SqlClient.SqlConnection("user id=sa;password=xxx;database=MF;Server=10.0.0.16")
cn.Open()
However, I also want to continue working at home using the emulator and my local SQL server to serve as test data.
I tried to replace the string value with settings I have in my local server:
cn = New SqlClient.SqlConnection("user id=BertUser;password=hlt;database=MF;Server=BERT")
The command above always give me a "SQL server Not Found" using the emulator. Did I do something wrong?
Thanks.
Bert
I was able to connect to the SQL server 2000 in the network using the code below.
Dim cn As SqlClient.SqlConnection
cn = New SqlClient.SqlConnection("user id=sa;password=xxx;database=MF;Server=10.0.0.16")
cn.Open()
However, I also want to continue working at home using the emulator and my local SQL server to serve as test data.
I tried to replace the string value with settings I have in my local server:
cn = New SqlClient.SqlConnection("user id=BertUser;password=hlt;database=MF;Server=BERT")
The command above always give me a "SQL server Not Found" using the emulator. Did I do something wrong?
Thanks.
Bert