Many applications that display data in a grid interface allow the user to use the ENTER (RETURN) key to navigate from cell to cell.
I want when I press Enter key the next cell of DataGrid be selected. for first time this is done with follow code but for second time the focus go to the last cell of datagrid.
protected override bool ProcessCmdKey(ref Message msg, Keys keydata)
if(keydata == Keys.Enter)
base.ProcessCmdKey(ref msg, keydata);