This commit is contained in:
SchreiberM
2017-03-10 11:52:55 +01:00
parent b623a129f5
commit 701f303176
15 changed files with 300 additions and 250 deletions

View File

@@ -204,4 +204,23 @@ Public Class frmCheckRightsRecords
Private Sub frmCheckRightsRecords_Shown(sender As Object, e As EventArgs) Handles Me.Shown
_formloaded = True
End Sub
Private Sub btnSelectVisiblRows_Click(sender As Object, e As EventArgs) Handles btnSelectVisiblRows.Click
Dim listRecords As New ArrayList
Dim collist As New ArrayList
For i = 0 To GridViewMain.RowCount
Dim recid = GridViewMain.GetRowCellValue(i, "Record-ID")
If Not IsNothing(recid) Then
listRecords.Add(recid)
End If
Next
For Each row As DataRow In DT_DATA.Rows
For Each Record As String In listRecords
If Record = row.Item("Record-ID") Then
row.Item("Selection") = True
Exit For
End If
Next
Next
End Sub
End Class