for RuBoard



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?


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.

for RuBoard

Sams Teach Yourself ADO. NET in 24 Hours
Sams Teach Yourself ADO.NET in 24 Hours
ISBN: 0672323834
EAN: 2147483647
Year: 2002
Pages: 237 © 2008-2017.
If you may any questions please contact us: