Sooraj P

Sooraj P

  • NA
  • 2
  • 2k

C# Windows form Application with SQL Server

Jan 8 2022 7:31 AM

 

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.

 


Answers (3)