Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Articles Author
Thu, 31-Jul-2014 Authors
Vivek.Ramapuram
40
All Time Authors
Vishal@Neeraj
28880
Rajkatie
20600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)

What is the difference between Typed and UnTyped DataSets?

 Posted by Ddd on 1/25/2011 | Category: ADO.NET Interview questions | Views: 11561 | Points: 40

Answer:

1)Typed DataSets use explicit names and DataTypes for their members.
example:
northwindDataSet.Products.ProductNameColumn.Caption = "pnames";

2)They have .xsd file (Xml Schema definition) file associated with them and do error checking regarding their schema at design time using the .xsd definitions.

UnTyped DataSets:
1)UnTyped DataSets use table and column collections for their members
ex:
ds.Tables["emp"].Columns["eno"].ReadOnly=true;

2)They do not do error checking at the design time as they are filled at run time when the code executes.


Asked In: Many Interviews | Alert Moderator 

Found interesting? Add this to:



Comments or Responses

Posted by: Sathya4260 on: 1/26/2011 | Points: 10

Can you provide more points on this...

Posted by: Umarali1981 on: 8/9/2012 | Points: 10

For difference between Typed and UnTyped DataSets,please visit the following URL

http://onlydifferencefaqs.blogspot.in/2012/08/adonet-difference-faqs-2.html

Login to post response