I have a WinForms application that connects to a SQL Server database. I use the following connection string
data source=MyPC\SQLEXPRESS;initial catalog=MyDB; trusted_connection=true;
Problem is, I need to create an installer for the application, but I do not know the name of the target computer. How can I define my connection string, so it will work on any computer the application is installed on?
Thank you for your help.