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 ...
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