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.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hirendra SisodiyaPosted Apr 1, 2010, 5:14 AM
hello
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