Solved

DataSet class?

Posted on 2006-11-06
9
507 Views
Last Modified: 2006-11-18
Which type of 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?

Untyped DataSet
 
 
--------------------------------------------------------------------------------
 
  Typed DataSet
 
 
--------------------------------------------------------------------------------
 
  XML DataSet
 
 
--------------------------------------------------------------------------------
 
  XSD DataSet
 
0
Comment
Question by:mathieu_cupryk
  • 5
  • 4
9 Comments
 
LVL 15

Expert Comment

by:ozymandias
ID: 17885664
Not familiar with any of those classes.
Are you sure you have the names right...they have spaces in them.
0
 

Author Comment

by:mathieu_cupryk
ID: 17885668
100 %
0
 

Author Comment

by:mathieu_cupryk
ID: 17885685
Could it be strongly typed?
0
 
LVL 15

Expert Comment

by:ozymandias
ID: 17885687
It is most likely to be TypedDataSet but he questoion is confusing.
There is no class called TypedDataSet.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:mathieu_cupryk
ID: 17885689
But it is not in the list?
0
 
LVL 15

Accepted Solution

by:
ozymandias earned 250 total points
ID: 17885699
Yes. It is Typed Dataset.
0
 

Author Comment

by:mathieu_cupryk
ID: 17885703
Your Typed DataSet directly derives from DataSet so all the DataSet-related classes and methods will work. One of the distinct advantages of using a Typed DataSet is that elements of the DataSet are strongly typed and strongly named. The use of the new class is a little different than our old DataSet examples, as shown in Listing 6.4.

Listing 6.4: Using a Typed DataSet
0
 
LVL 15

Expert Comment

by:ozymandias
ID: 17885713
Yeah, I found it too....

A typed DataSet is a class that derives from a DataSet. As such, it inherits all the methods, events, and properties of a DataSet. Additionally, a typed DataSet provides strongly typed methods, events, and properties. This means you can access tables and columns by name, instead of using collection-based methods. Aside from the improved readability of the code, a typed DataSet also allows the Visual Studio .NET code editor to automatically complete lines as you type.

Additionally, the strongly typed DataSet provides access to values as the correct type at compile time. With a strongly typed DataSet, type mismatch errors are caught when the code is compiled rather than at run time.

0
 

Author Comment

by:mathieu_cupryk
ID: 17885759
good job boys!!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Loop not working 29 47
Allow space in this pattern 2 46
ASP.NET 5 Templates 2 65
Importing CSV file encoded in UTF-8 in SQL SERVER 2008 using BULK INSERT 5 22
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now