Click here to Skip to main content
16,004,761 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
Public Shared a As Integer = 0
Public Shared b As Integer = 0
Public Shared tot As Double = 0
Public Shared totper As Double = 0



it saves the value of the previous run.
Posted
Updated 10-Feb-14 19:24pm
v2
Comments
Sergey Alexandrovich Kryukov 11-Feb-14 1:44am    
Where is the problem?
—SA
Ni!E$H_WAGH 11-Feb-14 1:48am    
Am trying to add value of the textbox to tot variable but it only takes values 1,2,3 etc?
Here is the code
Dim tempstr = txtwtfact.Text.ToString
totper = totper + Convert.ToDouble(tempstr)
If (totper > 1) Then
lbltotper.Visible = True
End If
Sergey Alexandrovich Kryukov 11-Feb-14 2:49am    
Looks as much of a gibberish to me as the question itself... sorry, I cannot understand what you are trying to do and why...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900