Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 can I retrieve two tables of data at a time by using data reader?

1020


What is the use of ADO.NET and XML web services?

1049


What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?

1031


Some important instruction regarding ADO.NET connection string ?

986


What does sqldatareader return?

966


What are the different layers of ado.net?

1083


What is maximum pool size in ado.net connection string?

976


What is the advantage of ado.net?

1020


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

999


What are the uses of Stored Procedure?

1067


What is acid in ado.net?

1038


Which method is used by command class to execute SQL statements that return single value?

1051


How to add a javaScript function in a datagrid?

1135


How we can provide data to ado.net?

1045


What is the difference in an abstract class and an interface?

1009