If I build a solution in C#, how do I add a database to the final program?

Posted by DevX on Stack Overflow See other posts from Stack Overflow or by DevX
Published on 2010-04-07T23:38:18Z Indexed on 2010/04/07 23:43 UTC
Read the original article Hit count: 765

Filed under:
|

Apologies if this is a very basic question, but I am preparing to create an executable for a Visual Studio C# Application. (My first time!)

My application uses a database that I'm currently storing in SQL Server. This works fine while I'm coding since I created the database manually on my computer.

I see that VS2008 has created an .exe in my bin/debug folder, but how do I ensure that any new users (that doesn't already have the database) doing a fresh install gets the database also?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql