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

Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

646


Why is ADO.NET serialization slower than ADO ?

640


What is ole word?

599


Define connection string?

647


What is difference between datagridview and datagrid control in winforms?

568






How can you add or remove rows from the datatable object of dataset?

638


What providers does Ado.net uses?

625


Explain the difference between sqlcommand object and command behavior object?

592


What are different layers of ADO.Net?

652


What is ado or jdbc?

571


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

680


Is datareader faster than datatable?

586


Define data access layer?

577


What are the advantage of ado.net?

585


Explain the difference in record set and dataset?

555