Click here to Skip to main content
15,913,090 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all!

i want to create search engine on my data gridvie

i have gridview1 with two columns "Name", "Country"

and have two text boxes with name "NAME", "COUNTRY"

if i press n all names start with n will display and so on......
Posted

Hi,
Could you please specify when do you want to press 'n', I mean you want to write this letter in the textbox "NAME" or not ?
but in general the first thing you should do is detecting the keyboard pressing event then you detect the pressed letter and after that you change the gridview database accourding to the pressed letter .
 
Share this answer
 
Comments
kami124 18-Jul-11 3:01am    
ya want to write 'n' in textbox "NAME"
OK i me doing the key events

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