I have a C# windows forms application and it works with Sql Server Express on my own machine. I have published my program with release.exe file and included there the Script.sql file in order to have the database of the program. The program works perfectly in my machine because I have the database and SQL server. On other machine that has an SQL server, also working perfectly, but that machine must run(execute) the Script.sql file with DBMS first and than it works.
This is my connection string: connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=Assessment;Integrated Security=True;
So the issue is: I cannot use my program on the machine that has not installed SQL Server.
Question: Is it possible to run my program with database on the other machine that has not installed SQL Server and Visual Studio at all?
I heard that, If I add some .dll files or the .mfd/.ldf files to the project, it's possible to run the program without SQL Server.
I know that I'm using the database in a complicated way(including Script.sql and running it manually) cuz I'm beginner in programming. Sorry if I'm asking a stupid question...
Thank you!