Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SqlConnection on a LAN - how to do it

Status
Not open for further replies.

ice78991

Programmer
Nov 20, 2006
216


I am trying to connect to a SQL Server 2005 database on a lan using SqlConnection. Should I attempt to connect through the IP address and port number or are there better options ? Can I use the server name for example. If the computer name is Comp1 and the server instance on the computer is myserve1 how would I formulate this addressing method?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top