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
What are the usages of the command object in ado.net?
What is the meaning of executenonquery?
Explain ado.net features?
What are the different layers of ado.net?
What is different between sqlcommand object and command behavior object?
What are the advantages of oledb compared with other classes?
How to identify the updated rows in a dataset?
What are the objects of ado.net?
differance between ADO vs ADO.Net?
What is the role of clr?
How can you add or remove rows from the datatable object of dataset?
What is microsoft ole db provider for sql server?
How to add an aggregate column?
What is the full form of ado.net?
What is shadow copy?