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 / kumar vaibhav
Create a stored procedure with parameter page size and current page index.Get the lower bound and upper bound of the page by using following formula
Lower bound=Pagesize*PageIndex+1
Upper Bound=lowerbound+pagesize
call this Stored Procedure on every paging event of gridview.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of adodc?
What is aggregating data ?
What is the difference between OLEDB Provider and SqlClient?
How to pass multiple tables in datasets simultaneously?
What is an ado connection?
Why do we need ado.net?
What is an ADO.Net?
What is variable view?
What are the Features of a dataset
What does adodb stand for?
What is acid in ado.net?
Which is faster sqldataadapter and sqldatareader?
Explain the difference between data reader and data set?
Explain how to create dynamic gridview?
What are the benefits of using of ADO.NET in .NET 4.0?