Click here to Skip to main content
15,920,633 members

Comments by hamid reza toosi (Top 1 by date)

hamid reza toosi 20-Jan-12 12:07pm View    
I think this question is clear.In my opinion question subject is: "What is the best connection string for a c# application which wants to connect to an mdf file on another computer in network. for example :
Suppose there is a work group network available, we put test.mdf in directory c:\hrt at computer with IP : 10.10.10.1 and computer name : "client-1"
What changes we have to do in the connection string used in our program(that we decide to run it by computer with IP : 10.10.10.2 and computer name: "Server-2") to force the application to connect to that mdf file in "client-1" in our workgroup network.