O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 20

Quiz Answers

1: What is the directive of XSD that generates the dataset?
  1. /n directive

  2. /d directive

  3. /l directive

A1: b. The /d[ataset] directive tells the XSD tool to generate a typed DataSet class code from the supplied .xsd schema file.
2: True or false: You can only generate a typed DataSet using the XSD XML Schema Definition tool?
A2: False. You can generate typed DataSets both manually with the XSD tool and dynamically in Visual Studio .NET.
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

A3: a. You can use the Imports reference in your code and supply the /r: reference for the typed dataset class (.dll) you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required