02-10-19, 02:07 AM
PHP كود :
Private Sub GetSUMofUnits()
Dim total As Integer
For Each row As DataGridViewRow In DataGridView1.Rows
If row.Cells(3).Value > 0
total += row.Cells(3).Value
End If
Next
txtTotalUnits.Text = total
End Sub
