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 21

Quiz Answers

1: What is the purpose of adding additional layers to your application?
A1: The purpose of adding additional layers to your application is to improve the readability and manageability of your code.
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.
A2: The option is called CommandBehavior.CloseConnection.

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