Typed and Untyped DataSets

As promised, we will explain the difference between typed and untyped DataSets. Another way of saying typed and untyped is to say strongly typed and weakly typed, terminology I prefer because it more aptly describes what is going on. The terms are used interchangeably in Microsoft documentation.

Basically:

  • Typed (strongly typed) means the programming language strictly enforces data types. Visual Basic is an example of a strongly typed language.

  • Untyped (weakly typed) means you can assign any variable to any other variable. C is an example of a weakly typed language.

In C you can pretty much assign any variable to any other variable without the compiler complaining, no matter the data types of the variables.

For example, ...

Get ADO.NET Programming in Visual Basic™ .NET 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.