Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Frinds,
I Want to search data from my sql database to load datagrid to type textbox.. but i wrote code to textbox_textchanged event .. data is 30000.. so its taken slow . how can i search easy way plss help me...


Thank's in advance...
Posted
Comments
[no name] 26-Mar-13 8:46am    
How would you think that we could tell ways to improve your code when you do not show us what you have done?
StianSandberg 26-Mar-13 8:59am    
so you have 30.000 rows in your table and you are doing text search? LIKE '%query%'? If so, you should read about indexing and full-text search. http://msdn.microsoft.com/en-us/library/ms142571.aspx
Search in 30.000 records should be super fast if you do it the right way.

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