If a table contains 20000 records . In a page at each time
100 records to be displayed. What are the steps u will take
to improve performance? will you use dataset or datareader?

Answer Posted / vijay

we have to use a dataset because on using datareader
forward only paging can be achieved. Suppose if you are at
1000 page and you want to go back to 999th page, if you use
datareader it cannot be achieved, since it does not support
backward navigation.
Dataset supports forward and backward navigation

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

587


What is an orm, and why would you use one instead of plain old ado.net?

574


What is the default provider in ado.net?

516


What are the different execute methods of Ado.Net?

553


What are the advantages and drawbacks of using ado.net?

624






What are all the commands used with Data Adapter?

518


Explain the dataadapter class in ado.net?

663


What is ado.net in vb net?

508


What are all the different methods under sqlcommand?

522


What does executequery return?

519


What are the benefits of using of ADO.NET in .NET 4.0?

539


What is csdl entity framework?

555


How can we load multiple tables in to dataset?

572


What is dao and ado?

483


What is difference between datatable and dataset?

526