How do I connect to SQL Server using Visual Studio .NET?

 

SUMMARY
Visual Studio .NET 2002 includes a built in database management tool (similar to Microsoft Enterprise Manager).
The following functions are available with this tool.
Retrieve and edit data
Create tables, views, and stored procedures (Enterprise & Architect Version only)

DETAILS
To connect to your Microsoft SQL Server database with Visual Studio .NET, follow the steps listed below.

  1. Open Server Explorer (View -> Server Explorer)

  2. The Server Explorer should show up on the left hand side of the IDE

  3. Right click on \"Data Connections\" and select \"Add Connection\".

  4. Enter the Server Name in the first textbox (do not use the drop down box). MS SQL Server name is sql.yourdomain.com

  5. Check \"Use a specific user name and password:\"

  6. Enter your SQL username & password

  7. Select your database from the dropdown list.

  8. Click \"Ok\"

  9. Once connected, you should see a new entry in the Data Connections Section.

Was this answer helpful?

 Print this Article

Also Read

How do I create a new web project with Visual Studio .NET?

To create a new web project with your AlpsHOST.com hosting account, follow the steps listed...

How do I open an existing project on your server?

  The information in this article applies to: Microsoft Visual Studio .NET Microsoft...

Do you support remote debugging?

  DETAILSUnfortunantly we do not support remote debugging. Please review the reasons listed...

Visual Studio .NET 2003 reports that the webserver does not have ASP.NET version 1.1 installed

  The information in this article applies to: VS.NET 2003   DETAILS...

How do I deploy a Visual Studio .NET web project from my local computer to your server?

      SUMMARYThis document is a quick step-by-step document. ...