I wrote a program to track the records of an employee in Windows Forms application in Visual Studio. I am using SQL Server 2017 Express for the data storage. My SqlConnection
statement is using localhost and SQL Server authentication, what I need to know if how do I let multiple computers be in sync to a single database, there is no internet but the computers share a server where they can store files inside and all the computers can access it, I read somewhere that people input the ip address of the main computer in the SqlConnection
statement but I'm not sure how that would work.
This is my SqlConnection
statement currently
new sqlConnection(@"Data source = localhost\sqlexpress; Initial catalog = database;user id =sa;password = 1234; integrated security = false")
The program will be installed on multiple computers for people to use