I have a Windows Forms application to read, create and update members, the application is ready and I want to deploy/install it on three or four pc’s.
During the development process I have used a connection string like this:
using (SqlConnection connection =
new SqlConnection(
"Data Source=MY-PC\\JGSQLSERVER;Initial Catalog=TESTSUB;Integrated Security=True"))
There is a domain on which an organisations website runs, and there is SQL server server. I have made the same table structure in the SQL web server .
My question is when I install the small windows app on any pc, do I need to change the connection address so the application can connect?
For example, like the above:
using (SqlConnection connection =
new SqlConnection("Data Source=web servers address\\ webSQLSERVER;Initial Catalog=TESTSUB;Integrated Security=True"))