How To: Browse the database using Server Explorer in Visual Studio
This topic describes how you can navigate through the different objects of the connected database using Server Explorer. Server Explorer is a stand-alone feature and can be used without creating an application. You can run queries using Query Designer.
To browse the database using Server Explorer
In Visual Studio 2010 Service Pack 1, on the View menu, select Server Explorer.
Add a database connection in the Server Explorer. See How To: Connect to a SQL Server Compact Database by Using Visual Studio.
Right-click a table in the Northwind database. Click New Query. This opens the Query Designer session.
The Add Table dialog appears. You can add an existing table to be used in your query.
Type a query to retrieve data from this table.