I am looping though about 100,000 records and checking a DataGridViewCheckBox Column, but it is taking way too long. Is there a faster way of doing this? Here is how I am currently doing it:
Code:For Each R0w As DataGridViewRow In DataGridView1.Rows Dim TST As String = DataGridView1.Item(3, R0w.Index).Value.ToString If TST = "loc_132" Then DataGridView1.CurrentRow.DefaultCellStyle.ForeColor = Color.Red DataGridView1(0, R0w.Index).Value = True End If Next




Reply With Quote
