Hi everyone could you help me fix my code?
I tried to use convert.toint32 and integer.parse but no luck.
Here's my code:
I tried to use convert.toint32 and integer.parse but no luck.
Here's my code:
Code:
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Label1.Text = TextBox1.Text * TextBox2.Text
Dim int1 As Integer
int1 = System.Convert.ToInt32(TextBox1.Text)
Dim int2 As Integer
int2 = System.Convert.ToInt32(TextBox2.Text)
Label1.Text = int1 * int2
End Sub
Comment