VB.NET - typed and untyped DataSet objects

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.
VB.NET DataView
VB.NET - Briefly describe DataView - The data represented in a DataView object can be filtered and sorted......
VB.NET XmlDataDocument
VB.NET - Define an XmlDataDocument - An XmlDataDocument is an in-memory representation of data in a hierarchical XML format ......
VB.NET - SQL injection attack
VB.NET - SQL injection attack - It occurs when SQL string is passed as user input to the application......
Post your comment