I want to publish a desktop application in another host computer. I tried publishing with SQL Server Compact but it didn't work. What changes should I make in Visual Studio and SQL Server so I can install my application in any computer?
What changes should I make to the connection information shown here?
private void FrmLogin_Load(object sender, EventArgs e)
{
GlobalConnection.strServer = "myserver\\SQLEXPRESS";
GlobalConnection.strPWD = "123456";
GlobalConnection.strDatabase = "NUS";
GlobalConnection.strUID = "sa";
GlobalConnection.SetupConnection();
}