For j As Integer = 0 To DataGridView2.Rows.Count - 1 If CBool(DataGridView2.Rows(j).Cells(1).Value) = True Then Dim r As Form1.DataGridView2.Rows.count Form1.DataGridView2.Rows(r-1).Cells(0).Value = DataGridView2.Rows(j).Cells(0).Value End If Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)