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:What is the purpose of adding additional layers to your application?
2:Name the option you can use when calling the ExecuteReader() method of the Command object to make sure that the DataReader closes its connection to the database when it is done.

Exercise

Upgrade the orders.aspx and orderdetails.aspx examples from Hour 11 to use a middle tier to access data. Remember that both of these examples use a SqlDataReader to retrieve information from the database, so your middle-tier code will be very similar to the first example (product list) in this chapter. ...

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