title: How to create Setup.exe with SQL Server Express database
body: <p>I am working on a Winforms application in C# using .NET 6.0.</p>
  <p>The application has a SQL Server database with four tables. I have completed it and created <code>setup.exe</code> which successfully installs the application on my computer and works perfectly with the SQL Server Express database.</p>
  <p>However, when I install it on another computer, I have problem to establish and connect database. I followed several instructions with no success. I even changed platform to .NET Framework 4.8 and followed tutorial to create localDb.</p>
  <p>It works fine if I have only one table and one form with datagridview which follows table from database. But when I try interaction with other forms and tables it does not work.</p>
  <p>It seems to me that only way is to install SQL Server Express on another computer and create the same connection string and same table, which I believe could not be the truth.</p>
  <p>I saw a number of questions addressing the same problem, but there is no answers that solve it. I would be very thankful If anybody could suggest tutorial or article which addresses this topic.</p>