Israel

Israel

  • 700
  • 1.3k
  • 217.6k

With this path can I be connected with two computers?

Apr 27 2014 3:16 PM
Hi!
 
I have a very small question but important.
Right now I am developing a simple and small system that will manage stock. But it to work on a local network (three computers: server and two clients).
Now what is my question:
can I use this path to use the sqlserver database with those two clients from the principal computer as server?:
string connstr = "database=master;server=.\\localhost\\sqlexpress;user=;password="; 
 
I re-ask my question in other manner:
those two computers with the same system installed can be connected to the server where the sqlserver database is localised?
 
Many thanx,
Israel. 

Answers (3)