O'Reilly logo

Visual Basic 2010 Unleashed by Alessandro Del Sole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating DataSets

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

Figure 22.1 The first step of the Data Source Configuration Wizard.

image

When you proceed, you are prompted for specifying if 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 available on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required