We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

datagrid capture keys to copy currentcell to next row

Hello, I have a windows form with 3 datagrids on it, bound to the same dataview. I want to capture following keystrokes : When the user presses "*" I want the value of the currentcell to be copied into the following row of the same column. When the user presses "+" I want the value of the currentcell to be incremented with one and copied into the following row in the same column. This means the following sequence of events : 1) check if the user has pressed "*" or "+" 2) copy the value (or value + 1) of the grids currentcell (or bound dataviewfield) 3) move to the next row and make the datagridcell in the same colum the currentcell and do paste the keydown or keypress events of the datagrid don't seem to work to capture "*" or "+" ? Any examples of how to get this work ?

Loader.
Up arrow icon