Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.
Add numbers in two textboxes in Visual Basic 2008?
I put numbers in each textbox but they are not recognised as numbers so they won't add or subtract
2 Antworten
- vor 1 JahrzehntBeste Antwort
Hi,
First you need to convert these inputs to an integer or double.
double input1 = double.Parse( TextBox1.Text );
double input2 = double.Parse( TextBox2.Text);
double result = input1 + input2;
hope this helps...
Quelle(n): experience - Anonymvor 5 Jahren
Well firstly, you'd need to declare the variables, it is database related, so you might want to add a database element, and input your friends' phone numbers in it, create a textbox with a button, and program the button almost like a parser. You also need Visual Server to do it. Good Luck.