I have created a Windows Forms desktop application using Visual Studio 2019. I also created a database using SQL Server Management Studio. I connected the database with my application with connection string
"Data Source=CYBERCELL\\SQLEXPRESS;Initial Catalog=Details;Integrated Security=True;"
The application is running without any error. I published this application using Visual studio 2019 publish wizard and installed in another computer. But I can't understand how to use and connect the database with the application in that system. I Am looking to install SQL Server in every computer. But if I install SQL server, the server name will be different.

Sachin SinghRank #66 · 26.2K reputationPosted Jan 8, 2022, 2:50 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Jan 8, 2022, 11:12 AM EST
Ganesan CRank #369 · 6.8K reputationPosted Jan 8, 2022, 1:06 PM EST