Hi Sourav972,
you can use the KeyDown event handler as follows :
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
e.SuppressKeyPress = true;
dataGridView1.CurrentCell = dataGridView1.CurrentRow.Cells[dataGridView1.CurrentCell.Index + 1];
}
else if (e.KeyCode == Keys.Tab)
{
e.SuppressKeyPress = true;
NextControl.Select();
}
}
where NextControl is the new control you want to select.
I hope this help,
Good Luck,
:)