?
Solved

DataSet class?

Posted on 2006-11-06
9
Medium Priority
?
515 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 

Author Comment

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

Accepted Solution

by:
ozymandias earned 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

770 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