Torna al Thread

Dim pezzi As Integer = 0 Dim SubTotale As Decimal = 0 Dim totale As Decimal = 0 Dim parziale As Decimal = 0 Dim righe As Integer = DataGridViewDettaglioScarico.RowCount - 1 For x As Integer = 0 To righe SubTotale = DataGridViewDettaglioScarico.Rows(x).Cells("R_SubtotaleRiga").Value.ToString If SubTotale > 0 Then totale += SubTotale End If Next TextBoxTotale.Text = FormatCurrency(totale)
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5