How to highlight an entire row in a DataGridView?

  • Thread starter Thread starter Hexman
  • Start date Start date
H

Hexman

I have a DataGridView with RowHeadersVisible = False. When a user
clicks on a cell how do I highlight the entire row. And secondly how
to (syntax) get the value of cells into variables. I've looked at
SelectedRow, CurrentRow, but just dont' get it.

DataGridView1.SelectedRow.Column("CustNameDataGridViewTextBoxColumn").value


Is the above even close?


Thanks,

Hexman
 
Back
Top