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."
Which method of the DataAdapter object is used to place the records returned from a query into a DataSet ?
What steps must you perform before being able to use a Command object to retrieve data from a data source?
True or False: You should use an OleDbConnection with a SqlCommand in order to retrieve data from Microsoft SQL Server using OLE DB drivers.
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 the DataAdapter . Hint: If you pass a query as the first argument, the DataAdapter will implicitly create a Command object. Also practice executing various queries against your data source and viewing the results in a Web form.