Private Sub ADD_Column() With AddColumn .HeaderText = "FollowUp" .Name = "FollowUp" .Width = 80 .ReadOnly = False End With DataGridView1.Columns.Insert(0, AddColumn) End Sub
Dim x As Integer For x = (DataGridView1.Rows.Count - 1) To 0 Step -1 If DataGridView1.Rows(x).Cells(1).Value = False Then DataGridView1.Rows.RemoveAt(x) End If Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)