Gustavo

Gustavo

  • NA
  • 1.3k
  • 452.5k

Connection String to Server

Mar 5 2010 12:22 AM

Hello:
 
I have 3 servers running on my machine. 1) HPW7V64, 2) HPW7V64\SQLEXPRESS, 3) HPW7V64\IPSQLSERVER.
 
If I use the following lines I can connect to #1:
TestConnection.ConnectionString = @"Server=hpw7v64.ggamvpn.gbridge.net;Database=IPDev...
TestConnection.ConnectionString = @"Server=HPW7V64;Database=IPDev...
 
I would like to connect to #2 & #3 with the VPN. Anyone know how I can pass the correct string?

 

Answers (13)