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 ado.net object model?
What is ado.net in vb net?
What DataReader class do in ADO.NET ?
What are the ado.net components?
What is difference between executequery and executeupdate?
Do you use stored procedure in ado.net?
What are the pre-requisites for connection pooling?
What are the usages of the command object in ado.net?
What is data access pattern?
What are the different execute methods of Ado.Net?
Explain why canot we use multiple inheritance and garbage collector paralelly in .net?
What is ado recordset?
What are the types of databinding?
Explain the role of data provider in ado.net?
What is the use of data grid?