title: How to connect database with C# executable file?
body: <p>I am writing code for a small company that is all about purchase and sell. I wrote C# code with using external database (SQL Server 2014), now it's time to make the exe file of that code.</p>
  
  <p>I tried my best but it doesn't work.</p>
  
  <p>How can I connect SQL Server 2014 database files with my application so that when someone installs it on his computer he also got SQL Server connected with that application?</p>