ID Counter Customer 1 NULL 3G001 2 NULL 3B002 3 1 3B003 4 NULL 3P004 5 2 3P005
Dim x As Integer = 0 While x <> DGVcheckq.RowCount If DGVcheckq.Rows(x).Cells(1).Value = "1" Then LBLq1.Text = DGVcheckq.Rows(x).Cells(2).Value ElseIf DGVcheckq.Rows(x).Cells(1).Value = "2" Then LBLq2.Text = DGVcheckq.Rows(x).Cells(2).Value End If x = x + 1 End While
DGVcheckq.Rows(x).Cells(1).Value
DBNull.Value
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)