Solved

DataSet class?

Posted on 2006-11-06
9
509 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 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