Giving User, a software along with database in C#.net
I have made a software but i don't know how to give database or attaching the database to the software e.g. attaching mdf and ldf files with software.exe.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Hirendra SisodiyaRank #256 · 9.8K pointsPosted Apr 1, 2010, 1:14 AM EDT
you can add both files mdf and ldf in setup project and also add installer class in your application project and you can write query for attaching database in this installer class.
thanks
please mark as answere if it helps