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:Which method of the DataAdapter object is used to place the records returned from a query into a DataSet?
2:What steps must you perform before being able to use a Command object to retrieve data from a data source?
3:True or False: You should use an OleDbConnection with a SqlCommand in order to retrieve data from Microsoft SQL Server using OLE DB drivers.

Exercise

Use the Class Browser application to examine the constructors of the DataAdapter object. See if you can simplify the code in this chapter even more by using different ways of instantiating ...

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