Click here to Skip to main content
16,017,650 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

i have to set focus to next cell of datagridview.when datagridview in edit mode means i type one of the cell of datagridview i have to set focus to next cell of datagridview when i pressed ENTER key.

please reply

Thank's in advance...

Posted

1 solution

What have you tried ? I assume this means there's a textbox in the cell, so you need to handle the keypress event to catch the enter, then you need to select the next cell and set the focus on the control in it, right ?

 
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