المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Distribute a sql-based solution



C# Programming
06-27-2009, 12:10 AM
I've written a program in c#.net whcih uses a pre-designed sql database.
The problem is that I have added a SqlServerProject which attaches my database's mdf file to the local server and it works properly since when I run the program in the visual studio , it attaches the specified file , but the problem is that I don't know what to add to my SetupProject in order to attach the database to local server as the visual studio does as well as installing required files on the target machine?