How do I select a complete dataGridView Row when the user clicks a cell of that row?

后端 未结 6 997
梦毁少年i
梦毁少年i 2020-12-14 14:01

I have a dataGridView and I need that when the user clicks on any cell the whole row that contains this cell is selected too. (it has multiselect disbaled) I t

6条回答
  •  感情败类
    2020-12-14 14:35

    In the DataGridView properties, Set

    • MultiSelect -> True
    • SelectionMode -> FullRowSelect

提交回复
热议问题