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:For best performance, of the DataAdapter and DataReader objects, which would you use to bind database data to a pageable DataGrid object to display the results of a query on a form?
2:Name one way you can improve the responsiveness of your queries using the Microsoft SQL Query Analyzer.

Exercise

Choose a previous exercise from any of the hours in this book. Analyze the code generated for the exercise and look for ways the code could be improved, using the concepts from this chapter. If you're using ASP.NET, use the Trace object to keep track of how much ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.