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