DataReaders Versus DataSets

xiaoxiao2021-03-06  20

"WHEN SHOULD I Use a DataReader and when sales i use the dataset?"

The DataReader Is A Connected Reader That Provides a Forward-Only View of Data. Because DataReaders Are Forward Only, They Arefore Fast At Reading Data, And Therefore Should Be Used In a Majority of Cases.

However, being a forward only connected reader also introduces a number of limitations. For example, if you need to support features such as paging and sorting, you will not be able to use a DataReader without adding additional custom code. If you want to use .

For Sestaset. In Addition, IF Yo NEED TO PASS The Data Around In The Component Layer or if You NEED TO MODIFY THE Enclosed Data Before You Use IT, You Must Also Use The DataSet.

转载请注明原文地址:https://www.9cbs.com/read-43390.html

New Post(0)