Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to use Key press in Data Grid View.how to do.
I write the below code it is correct.
C#
private void datagridView_KeyPress(object sender, DataGridViewKeyPressEventArgs e)
       {
         

       }

the above code is correct.
if it is correct ok. if not please send the code for the datagridview keypress.
Posted
Updated 4-Jan-13 21:10pm
v2

1 solution

if it is correct ok. if not please send the code
Why not try out by yourself? A quick example will tell you yourself that it is OK.

Just in case, if needed, following will help: Capture the KeyPress event of DataGridView Cell[^]
 
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