Dim Activeqty As Integer Dim Spareqty As Integer Dim defectqty As Integer Activeqty = DataGridView1.Rows(0).Cells(1).Value.ToString() defectqty = DataGridView1.Rows(1).Cells(1).Value.ToString() Spareqty = DataGridView1.Rows(2).Cells(1).Value.ToString()
Activepercentage = Activeqty * 0.1 If Actprcnt > defectqty Then CriticalReport.Listview.Items.Add("CRITICAL") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)