Define types of Datasets in ADO.Net?

Define types of Datasets in ADO.Net?

There are two type of dataset in 
1.Typed DataSet: Typed DataSet is derived from the base DataSet class and then uses information in an XML Schema file (.xsd file) in order to generate a new class. 
Create a typed DataSet without designer - manually
a.Call the command prompt (cmd) at the location of the XSD schema file. 
b.Use the XSD.EXE utility to create the class for the typed DataSet.

2.Untyped DataSet : Untyped DataSet is not defined by a schema, instead, you have to add tables, columns and other elements to it yourself, either by setting properties at design time or by adding them at run time. 

Date:2028-10-10 00:00:00

Post Your Answers

User Email:

User Name:

Related ADO.NET Subjective Links

ADO.NET Subjective interview questions and answers for experienced and fresher