Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 512

PowerShell GUIs • Datagridviewer get data from a selected row

$
0
0
[System.Windows.Forms.DataGridViewCellEventHandler]{
#Event Argument: $_ = [System.Windows.Forms.DataGridViewCellEventArgs]
#TODO: Place custom script here
$Row = New-Object System.windows.Forms.DataGridViewRow
$RowIndex = $_.rowindex
##############################################
[System.Windows.MessageBox]::Show($datagridview1.???) # I wan to get the Name field from the selected row #
##############################################

Statistics: Posted by chartmann221 — Tue Jul 23, 2024 6:13 am



Viewing all articles
Browse latest Browse all 512

Trending Articles