hi there, i have a datagridview and i am validating the datagridview cell in the cell validating event, but when i type the data and prss tab the error message comes and the next cell is being selected.
my code is
dgvSubContractor.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected = true;
why does it go to the next cell in the datagrid view??
thankx