Torna al Thread

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'Deve vorificare che non sia vuota il valore se no da errore in Single.Parse() If (txtSanzione.Text.ToString() = "") Then txtSanzione.Text = 0 End If Dim valoreSanzioneInserito As Single valoreSanzioneInserito = Single.Parse(txtSanzione.Text.ToString(), New System.Globalization.CultureInfo("en-US")) Dim intValue As Integer = recuperaRataFascia(valoreSanzioneInserito) If (intValue <> -1) Then lbRata.Text = recuperaRataFascia(valoreSanzioneInserito) Else lbRata.Text = "" End If 'Console.WriteLine(recuperaRataFascia(valoreSanzioneInserito)) End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5