Due to lack of information, one is hacked here if our methods are from the old VB.net compact framework project.
For i As Integer = 1 To DataGrid.VisibleRowCount - 1
If DataGrid.IsSelected(i) Then
MessageBox.Show(DataGrid.Item(i, 0).ToString())
End If
Next
This will show a message box with the contents of the first cell of each selected row.
source
share