Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all
please suggest me.
actually i am retrieving data from sql server database by using store procedure.
and bind it with listbox in asp.net.
for retrieving data from sql server i am using the simple
select statement in store procedure.
but now problem is that there ate approximately 20 lakhs records in table .
so the data is retrieving very slowly. so please help.
Thanks in advance
Posted
Comments
Costica U 19-May-11 7:04am    
What is "20 lakhs records"?

1 solution

First, is the table correctly indexed?
Second, don't bring back all of the records - only bring back a small amount and let the user decide if they need to see more or a filtered subset of records.
 
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