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 / ashok

This can be done using following ways. Mainly its base on
multitreading environment.

1. Declare delegate (I am using Async delegate)
2. Start a new thread which will gets a data information in
collection or we can fill the dataset.
3. In main thread you can keep polling to the datafill
thread whether the operation is complete or not.
4. with IAsyncResult we can find whether the thread which we
started earlier has completed the assigned task or not.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are all the classes that are available in System.Data Namespace?

993


What do you mean by performing asynchronous operation using command object?

1009


What is ado control?

936


What are the 3 major types of connection objects in ado.net?

981


How can we load multiple tables in a dataset?

1158


What is dbcontext and dbset in entity framework?

913


How to create data relations?

976


How do you update database through dataset?

964


What is the difference between dataset and datatable?

985


What are the usages of the command object in ado.net?

1012


What is the difference between executequery and executenonquery?

894


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

952


What is ado.net and its architecture?

1141


What is the difference between connected and disconnected environment?

1079


What is ado.net connection?

944