To add all numbers in a textbox control. Example you have 3 textboxes.
textbox1.text = "12",textbox2.text ="asd",textbox3.text = "2", the result will be Result.text="14"
For Each myControl As Control In Me.Controls
If TypeOf myControl Is TextBox AndAlso IsNumeric(myControl.Text) Then
Dim total As Integer
total += Val(myControl.Text)
Result.Text = Convert.ToString(total)
End If
Next