Click here to Skip to main content
15,907,395 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to check each key while i editing in a datagridview....
the row i selected is by mouse then while typing i need to check each character...

c# winform

Help me plzzz
Posted

1 solution

Write a Custom Column and use it. You can handler the KeyDown event in the Custom Column Control.
 
Share this answer
 
Comments
aneesh kumar k 30-Aug-10 6:03am    
We cannot check keydown event...It does not check alphabetical character etc...I need everything plz tell me another solution
Venkatesh Mookkan 30-Aug-10 6:14am    
I think, you misunderstood the KeyDown event. KeyDown event tracks all the Keys not only the alphabetical characters. What you have to do is write a Custom Column Template for the DataGridView control

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