Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Datagridview KeyDown Event

$
0
0
I have a datagridview bound to a datatable. I want to have the Enter key move across the row and not down the column. I can catch the Enter key with a KeyDown event to use a SendKeys command (not very elegent), but when the cell is in the edit mode, the KeyDown event is not fired when the Enter Key is pressed. The focus moves down the column. Any ideas?

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>