2
Answers

C# checking if a row in a datagridview is selected

Ari

Ari

13y
9k
1
How would I accomplish this? 

I've tried the following, but to no avail.

      if (dgvClient.SelectedRows.Count == 1)
      {
        selected = true;
      }

Thanks.
Answers (2)