Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Why is DataSet slower than DataReader
What is the difference between “DataSet” and “DataReader” ?
✍: Guest
Following are the major differences between “DataSet” and “DataReader”
? “DataSet” is a disconnected architecture, while “DataReader” has live
connection while reading data. If we want to cache data and pass to a
different tier “DataSet” forms the best choice and it has decent XML support.
? When application needs to access data from more than one table “DataSet”
forms the best choice.
? If we need to move back while reading records, “datareader” does not support
this functionality.
? But one of the biggest drawbacks of DataSet is speed. As “DataSet” carry
considerable overhead because of relations, multiple tables etc speed is slower
than “DataReader”. Always try to use “DataReader” wherever possible, as
it’s meant specially for speed performance.
2007-10-24, 5188👍, 0💬
Popular Posts:
How To Process Query Result in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL You can run queries...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...
How To Give a User Read-Only Access to a Database? - MySQL FAQs - Managing User Accounts and Access ...
1. The basics first, please define the web in simple language? How is it connected with internet? Wh...
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); ...