Connecting to a DATABASE in visual studio 2010
Such a problem. Created in sql server 2008 managment database. But I want to connect to it in visual studio 2010. Click connect to server, but the server name box is empty. Through sql server 2008, all properly connected. I cant undestand why? Help me please
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Jun 21, 2011, 3:13 AM EDT
Or, go to Server Explorer (Crtl+Alt+S) and Add New Connection.
Also, refer article: Find Database Connection and Generate Connection String using Visual Studio
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 21, 2011, 10:53 AM EDT
On Server Explorer click on Add Connection. Provide servername/IP, select authentication type (if it is SQL Server Authentication provide username and password). If you already have database, select database. And click on Ok.
Mike JonsonRank #7,584 · 238 reputationPosted Jun 21, 2011, 11:32 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Jun 21, 2011, 5:06 PM EDT