I am trying to publish c# windows form application that has around 15 forms, 4-5 datagrids, datasets etc. I have developed this app on my PC and it has database which is developed on SQL server 2012 (not express).
Now I want to run this app on another laptop, which is connected to my network over a LAN. I want this app to run on that laptop but still use the database on my laptop.
On my laptop, the connection string is present in App.config. Here it is :
<add name="ST" connectionString="Data Source=STI;Initial Catalog=ST;Integrated Security=True" providerName="System.Data.SqlClient"/>
Now how can I change the connection string so it may work on another laptop but still connect to db that is on my laptop?
I hope you understand my question.
Regards.