Ari

Ari

  • NA
  • 8
  • 50.2k

C# checking if a row in a datagridview is selected

Nov 7 2011 1:08 AM
How would I accomplish this? 

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

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

Thanks.

Answers (2)