Posts

Showing posts from January, 2017

Steps to create setup file in Visual studio 2012 with database.

Image
In this post i will show the steps to create an setup file in visual studio 2012 with database. I was searching from about month for how to create setup with database but everywhere same thing only i was getting i.e without database. As we know vs2012 and newer version dont have setup and deployment option so we have to use installshield LE to create setup but the setup created with that dont work on client or other pc if it has some database. I have tried and different method to create setup without using it, and it worked for me just give a try and let me know if it works for you or not. Below are the steps. STEP 1 Create and empty project in vb or C#. here i have created one form and placed gridview in it. STEP 2 Then Right click on your project name in solution explorer and select Add > New Item and choose Service-based Database. you can rename your database name with yours or any. STEP 3 Then Double click on Database1.mdf  and create and t