Click here to Skip to main content
16,012,110 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
I have 20 Laks of data in my database and i need to read though data and display in to ui using grid etc..

If i display all the data once in a UI it will create the performance issue.

Please tel me what is the best approach to read the data from data base, how to write the query for that, where can i store through data in code behind, how can i display through data using grid and it wont make the performance issue.

Thanks and Regards
Basheer Ahamed
Posted

 
Share this answer
 
Hello Basheer ,

This is the important point where we loose our application performance ,

so create a storedprocedure in your DB ,

that will return you data according to paging

if you can easily show "200" records in your screen then
you can pass pagesize=200 as a parameter to your procedure

after that fetch data from Db how much page is generated
and which page number you want to display in UI
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900