Private Sub dgvInfo_RowPrePaint(sender As Object, e As DataGridViewRowPrePaintEventArgs) Handles dgvInfo.RowPrePaint For i = 0 To dgvInfo.Rows.Count - 1 Dim count As Integer = 0 count = DbHelperSQL.GetSingle("SELECT MinQty FROM dbo.tEquipment WHERE I…