Views and the Query Designer

Views and the query designer fit together naturally because you use the query designer to create views. A view is a preconfigured select query that is stored in the database and can be used just like a table. In most cases, views can be updated just like queries. One of the most common uses for views is when creating reports. You do not have to use the query designer to create views. You can also create them using a Transact-SQL script. We will look at that method later when we examine the database project. For now we will use the query designer.

To open the query designer (see Figure 3.19), first we must find the views. Using the Server Explorer, navigate to and expand the Northwind database. Expand the Views tab ...

Get ADO.NET Programming in Visual Basic™ .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.