Building a DataSet Object from Scratch

The DataSet object is the core of data handling in ADO.NET, so the following sample will start with an in-depth look at the basic parts of a DataSet object. You’ll find the sample application, called SimpleDataSetSample, with this book’s sample files. The application starts out as a list of suitcases you have to remember to pack in the car to take on vacation. Figure 14-4 shows the main screen of the application on a Pocket PC device.

The SimpleDataSetSample application.

Figure 14-4. The SimpleDataSetSample application.

The SimpleDataSetSample application uses a DataSet object, which contains a DataTable object that represents a table called dtMyBags ...

Get Microsoft® .NET Compact Framework (Core Reference) 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.