I am filling a datagridview with multiple columns from my oracle database.
It has become necessary that I add a column with a checkbox.
I figured this out.
Dim cbPart As New DataGridViewCheckBoxColumn DataGridView1.Columns.Insert(1, cbPart) With cbPart .HeaderText = "PART" .Name = "Part" .DisplayIndex = 0 .Frozen = True
My column is showing up just fine.
I have a column filled with alphanumeric part numbers for example a154-321-2
I would like to flag a checkbox whenever a part number has a certain format. Such as all formats that contain a154 then check a box.
Can anyone give me a good starting point for this. I am unsure of where to begin.