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

Workshop

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:If a relationship is created between two tables, what values are permitted in the foreign key column?
2:What happens if I attempt to delete a record from a parent table with dependent rows in a child table?

Exercise

Using the example in Listing 4.6 as a base, create a Web form for an airline that does the following:

1.
Create a Flight DataTable to store flight information (with whatever schema you choose) including which customers are booked for which flights.
2.
Create a Customer DataTable to store customer information (with whatever schema 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