Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

DataGridView: Value of first cell in Selected Row ToString

$
0
0

I have a DataGridView that allows the user to click on any row, and it selects the entire row as desired. However, I’m having an issue getting he value of the FIRST Cell in that Row that is selected to a string value.

Previously when I only had 1 column being listed, it was easy:
$SelectedRealm = $ProdRealmsdatagridview.CurrentCell.Value.ToString()

Any help is appreciated.


Viewing all articles
Browse latest Browse all 13067

Trending Articles