Click here to Skip to main content
15,889,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For example i have four text box for searching into when I enter value in any text box this will show all record on the base of this value now i insert value in one of rest text box the search will be on the base of these two value just like it i do with 4 textbox please give me solution
Posted
Comments
So, where is the issue?
Asitsingh 11-Feb-14 11:10am    
how can i do this?
If I understood it correctly, you are trying to show data according to the values in TextBoxes.

So, just modify the query. What is the problem? Also Improve your question with further information and codes.
Asitsingh 11-Feb-14 11:10am    
this is issu
santhu888 12-Feb-14 3:05am    
show me your sample query??

1 solution

Change your query....like in Where condition you are passing many parameters then Replace "and" with "or" then it will take what ever you entered in the Textbox it will search based on that condition....
I think It will Help you....
 
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