4

I am creating a VB.net application that will connect to a Microsoft SQL database. I first just want to test the application locally. What is the best/easiest way to set up the database? Do I need to create a SQL server or can I just store the database as a file? I have no idea where to begin.

2 Answers 2

4

Assuming you're targeting SQL Server 2005 or 2008, your best solution would be to install SQL Server Express.

SQL Server 2008 Express

SQL Server 2005 Express

Sign up to request clarification or add additional context in comments.

3 Comments

Once I have it installed, how would I connect to it from Visual Studio?
@Johan: Are you asking how to connect to it from the development environment, or from within your application? In both cases, the procedure would be the same as it would be if you were connecting to a remote server.
I was referring to the developing environment. I will try again to connect to it. Thanks
3

Use an SQL Express instance on your local machine.

Look at: http://www.microsoft.com/sqlserver/en/us/editions/express.aspx to get started.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.