O'Reilly logo

Microsoft® .NET Compact Framework (Core Reference) by Mark Sutton, Rory MacLoed, Robert Burbidge, Stephen Wheelwright, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required