Import Data Connection Database to Project
|September 29, 2014||Posted by forumadmin under TechQns||
I built a winforms application using VS 2010. It connects to a database through SQL Express but did not include a local copy of the DB in the project(i.e .mdf).
On publishing the application and consequently installing it on a client machine an SQL server instance error was thrown.
I have resorted to creating a local copy of the DB and importing it to the DB but that would mean creating a new Data Set with the same data and having to change all the values the former dataset references in code before deleting it.
Does anyone know of a quicker and more efficient solution which will enable me import said DB into the project without altering my already existing code?
|Asked By – Ozone Developer||Read Answers|