Workshop

for RuBoard

These quiz questions are designed to test your knowledge of the material covered in this chapter. The answers to the quiz questions can be found in Appendix A,"Answers to Quizzes."

Quiz

1:

What is the directive of XSD that generates the dataset?

  1. /n directive

  2. /d directive

  3. /l directive

2:

True or false: You can only generate a typed DataSet using the XSD XML Schema Definition tool?

3:

How can the manually created typed DataSet be referenced in my VB code?

  1. Imports an /r directive with library (.dll)

  2. /l language directive at compile time

  3. /n directive at compile time

4:

What is used to create more user -friendly names for DataSet objects in the XML Schema file for a DataSet ?

  1. Annotations on the <XS:element name ...>

  2. Comments, preceded by <>

  3. New tag definitions of <XS:User-Friendly term >

Exercise

Part I: Go back and modify the 20xmlsch.vb program to include orders along with customers. Compile and execute it so that it produces a corresponding XML Schema file (.xsd).

Part II: Modify the 20UsedTyped.vb program to use this new Typed DataSet and to traverse orders for each customer.

for RuBoard


Sams Teach Yourself ADO. NET in 24 Hours
Sams Teach Yourself ADO.NET in 24 Hours
ISBN: 0672323834
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net