J
jimscott77
Can someone help with the following problem
TextBox1 is bound to a dataset and shows a value of "5"
I am trying to use that value as follows
Variable1 = Val(TextBox1.Text)
The result that I'd expect is that Variable1 would equal 5.
The result that I get is that Variable1 equals 0
How do I get Variable1 to equal 5?
Thanks,
Jim (the beginner)
I am using Visual Basic in Visual Studio.Net
TextBox1 is bound to a dataset and shows a value of "5"
I am trying to use that value as follows
Variable1 = Val(TextBox1.Text)
The result that I'd expect is that Variable1 would equal 5.
The result that I get is that Variable1 equals 0
How do I get Variable1 to equal 5?
Thanks,
Jim (the beginner)
I am using Visual Basic in Visual Studio.Net