For i = 0 To dgvpurchaseOrders.RowCount - 1 If Me.dgvpurchaseOrders.Rows(i).Cells(0).Value = True Then dgvpurchaseOrders.Rows.Remove(dgvpurchaseOrders.Rows(x)) End If Next
For x As Integer = dgvpurchaseOrders.Rows.Count - 1 To 0 Step -1 If dgvpurchaseOrders.Rows(x).Cells(0).Value Then dgvpurchaseOrders.Rows.Remove(dgvpurchaseOrders.Rows(x)) End If Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)