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

Get Sams Teach Yourself ADO.NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.