knowledgehunter
knowledgehunter

Reputation: 1415

build setup with database

I have written the code and finished the project. It is a window app in c#. I also have a database in sql server 2005 which I used it in the application. I need to create a setup for it so that any user can install it in his machine. build->publish and then following the wizard is the right way perhaps.. but what about the database?

The same database I made won't be in all computers, so I need that database also bind with my application.

Upvotes: 0

Views: 143

Answers (2)

Mitchel Sellers
Mitchel Sellers

Reputation: 63136

it sounds like you are looking for basic information on setting up a project, to truly document this is going to take a lot more than a post.

The basic project setup, is done via Visual Studio and the "File" -> "New" -> "New Project" option. You can then select the type of project you need and that will then setup the project for you.

For the database conection, you will want to look into the items in the System.Data.SqlClient namespace.

Upvotes: 1

Robert Greiner
Robert Greiner

Reputation: 29732

Here is a link to some intro level tutorials, this should get you started. I would focus on creating some sample "Hello World" type applications before you dive into database programming. If you don't start small with this stuff, it can get frustrating.

http://msdn.microsoft.com/en-us/library/aa288436%28VS.71%29.aspx

Upvotes: 2

Related Questions