CHAPTER 22 ADO.NET PART II: THE DISCONNECTED LAYER
Figure 22-17. Choosing the database
In the wizard’s next step, you will be asked if you would like to save the connection string in an
application configuration file. Although I did not show the screen shot here, elect to save your
connection string, and then click the Next button.
In the final step, you select the database objects that will be accounted for by the autogenerated
DataSet and related data adapters. While you could select each of the data objects of the AutoLot
database, here you concern yourself only with the Inventory table. Given this, change the suggested
name of the DataSet to InventoryDataSet (see Figure 22-18), check the Inventory table, and click the
Finish button.
905