private void dgOrderDetails_CellValueChanged(object sender, DataGridViewCellEventArgs e) { if (dgOrderDetails.Columns[e.ColumnIndex].Name.ToString().ToUpper() == "BILLINGMONT") { dgOrderDetails.Focus(); dgOrderDetails.CurrentCell = dgOrderDetails[dgOrderDetails.CurrentCell.ColumnIndex + 1, dgOrderDetails.CurrentCell.RowIndex]; } }
dataGridView1.CurrentCell = dataGridView1.Rows[rowindex].Cells[columnindex];
grdUser.CurrentCell = grdUser.Rows[e.RowIndex].Cells[2]; grdUser.CurrentCell.Selected = true; e.Cancel = true;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)