Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
This chapter is from the book


  1. If I have to update data changed by the end user, is it better to use a DataReader and apply the changes myself, or should I use the DataAdapter and the associated hit in performance?

  1. This is a close call and depends very much on the requirements of your application. If you need to squeeze out every last bit of performance, you'll want to use the DataReader and perform manual updates. Otherwise, the benefits gained by using the DataAdapter object to automatically reconcile changes to the data will far outweigh the performance gains of the DataReader object.

  • + Share This
  • 🔖 Save To Your Account