Creating DataSets

You create DataSets starting from a database and adding a new data source to your project. This is accomplished by clicking the Add New Data Source command from the Project menu in Visual Studio 2015. This launches the Data Source Configuration Wizard where you choose the Database source, as shown in Figure 21.1.

Image

FIGURE 21.1 The first step of the Data Source Configuration Wizard.

When you proceed, you are prompted to specify whether you want to create a DataSet or an Entity Data Model. Select DataSet and click Next. At this point, you are prompted to specify the database connection. For example, with the Northwind database ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.