Typed and Untyped DataSets

Untyped DataSets is a term that refers to instances of the DataSet class itself. A DataSet class all by itself does not represent a specific type of a DataSet. It's just a regular DataSet. Typed DataSets on the other hand is a term used to describe subclasses of a DataSet. Typed DataSets, in addition to being a subclass of DataSet, have properties and methods specific to the type of DataSet it is.

Let's create a typed DataSet and see what this all really means.

Create a new Windows application project and drag the authors table onto the form. Now, right-click the SqlDataAdapter control and click the Generate DataSet menu item. You should see the dialog shown in Figure 30.5. In this dialog, enter a name for the generated ...

Get Visual Basic® .NET by Example 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.