O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

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

Hour 20. Working with Typed DataSets

ADO.NET code has made some great strides forward in the context of typing. One such major stride is in the ability to access the data held in the DataSet through a “strongly typed” metaphor. This may not seem like such a big deal at first glance, but when compared to the old “weakly typed” approach of vintage ADO, it is more than a pleasure to work with. In particular, you can now access the typed DataSet's tables and columns with more simplified and user-friendly code. Using typed DataSets also yields better code coming out of the chute because any previously unknown runtime typing issues come out at compile time and not at runtime (as runtime errors, nasty indeed!). Microsoft also throws in the XML Schema ...

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