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



If a relationship is created between two tables, what values are permitted in the foreign key column?


What happens if I attempt to delete a record from a parent table with dependent rows in a child table?


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 choose).

  3. Link the two DataTable s by DataRelation s. By using the GetChildRows() method, display a list of flights and the customers booked to each flight.

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 © 2008-2017.
If you may any questions please contact us: