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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access