Using the Visual Studio TableAdapter Configuration Wizard to Generate Updating Logic

In Chapter 9, you saw that you could use the TableAdapter Configuration Wizard to create TableAdapter classes for the DataTables in your strongly typed DataSet. The wizard also generates updating logic and stores that logic in your code.

One purpose of the TableAdapter Configuration Wizard is to generate updating logic for you at design time to let you build efficient updating code quickly and easily. Obviously, that’s an ambitious goal. Although the wizard is not foolproof (what wizard is?), it actually achieves this goal in the vast majority of situations.

Let’s take a closer look at a TableAdapter’s updating logic by creating a new strongly typed DataSet. Open ...

Get Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition 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.