Typed DataSets

Typed DataSets are the easiest to demonstrate. We’ve already seen how to use these in previous chapters but for completeness let’s quickly go over a demo. Let’s use a version of the demo we’ve already created. To create a typed DataSet we use the Create DataSet wizard that is available when right-clicking the DataAdapter. When we create a typed DataSet using the wizard, the DataSet wizard gets its information from the DataAdapter. It then uses this information to generate a class based on the schema it retrieves from the database. Once the class is generated, the wizard then creates a DataSet that is an instance of the class. We will not go through this demonstration step by step because we’ve done this numerous times. Let’s use ...

Get ADO.NET Programming in Visual Basic™ .NET 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.