madcgimonk
Programmer
This is my first ever VB program and it's in .net. I have a textbox called box1 and a single submit button. I want to store the data from the textbox in a variable and then print it to screen.
What did I do wrong?
What did I do wrong?
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strBox As Long
strBox = box1.Text
Print(strBox)
End
End Sub