In vb.net datagridview
mouseenter()
DgV.Rows(e.RowIndex).DefaultCellStyle.BackColor = Color.Cyan
DgV.Rows(e.RowIndex).DefaultCellStyle.ForeColor = Color.Black
mouse leave
DgV.Rows(e.RowIndex).DefaultCellStyle.ForeColor = Color.Black
DgV.Rows(e.RowIndex).DefaultCellStyle.BackColor = Color.white
in this both event,since change of colors,i couldn't type letters in cell,cause of "Color.white" in mouseleave event