Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Focus to another column when ComboBox in DataGridView is click or key pressed.

how to focus to next cell in teh column when combobox in datagridview was clicked or enter key is pressed by user ?.

for that how to write the code using c sharp in windows application.

Did you try anything so far? You asked same/similar question couple of days back: DataGridView in windows application using CSharp[^]

Please try out and see, it might not be difficult. You need to Capture the KeyPress event of DataGridView Cell.
Share this answer
For you to type in every step of your application here and wait for code, is not programming. In 11 hours, you've posted 8 questions here. If you get all your answers, you'll have done about 2 hours work. I hope you're not being paid for this.

You can handle your key press events, and you can set the focus to another cell. All of this is trivial, and self documenting through intellisense.
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