Define typed and untyped DataSet objects.Datasets can be typed or untyped
1. typed dataset : A typed dataset is a dataset that derives from the base DataSet class first and then uses information in an XML Schema file (an .xsd file) to generate a new class. Information from the schema i.e. tables, columns etc. is generated and compiled into this new dataset class as a set of first-class objects and properties. Since it inherits from the base DataSet class, the typed class assumes all of the functionality of the DataSet class and can be used with methods that take an instance of a DataSet class as a parameter.
2. untyped dataset : An untyped dataset has no corresponding built-in schema. One can use either type of dataset but VS has more tool support for typed datasets, and they make programming with the dataset easier and less error-prone.
|