Hello,
I'm new to VB & Programming and I'm trying to create my first app that reads/writes from SQL. I have form that has a TextBox and a tabcontrol with 8 tabs and I use the textbox as a parameter to pass to my SQL and return the selection to my form and Tabs.
On tabpage1 I can calculate what I need and assign it to a read only textbox
On tabPage2 I want to do the same but I keep getting a an error "Format Exception was unhandled , Input string was not in the right format"
The same goes for all my other tabs.
Why does it work on tab1 but will not work for any other tab. I can even move my textboxes from tab2 over to tab1 and the format error goes away and it works fine.
Here is my code:
Public
numList.Add(Num1)
numList.Add(Num2)
numList.Add(Num3)
numList.Sort()