When to Use Strongly Typed DataSet Objects

Every developer, both inside and outside of Microsoft, with whom I’ve spoken about strongly typed DataSets has been impressed by how strongly typed DataSets can simplify the development process. However, many developers still have reservations about using strongly typed DataSets in their applications.

Most of these developers have not looked at the code that the XML Schema Definition Tool generates, nor have they compared the performance of untyped and strongly typed DataSet objects. And you know what? I was one of those skeptical developers before I researched this chapter for the first edition. (What did I find? I’ll get to that shortly.)

Software Components and Pocket Knives

A decade or three ago, I was ...

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.