Well, as you've asked the question, this 'might' work if you create the CellMouseEnter event
private void dataGridView1_CellMouseEnter(object sender,
DataGridViewCellEventArgs e)
{
DataGridViewCell cell =
this.dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex];
cell.Value = "";
}
but, Im not sure if its what you actually NEED (want != need) - if you're waving the mouse around your datagridview, this could wipe out any/all cells
after some thought I might be mis-interpreting what you've asked, so, instead of using CellMouseEnter, add the two lines in the event procedure above to the SelectionChanged event - ie
private void dataGridView1_SelectionChanged(object sender,
DataGridViewCellEventArgs e)
{
DataGridViewCell cell =
this.dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex];
cell.Value = "";
}