Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42307

VS 2008 add numbers in textboxes

$
0
0
Hi

how do I add numbers from two different textboxes, and then show the result into one of them?

I tried this, but it won't work
Quote:

Dim add_box As String
add_box = txt_box.Text
Dim derv_total As String
derv_total = txt_derv_total.Text

txt_derv_total.Text = derv_total + add_box
add_box is the box into which the user inputs a new number
txt_derv_total is the box that will hold the total accumulated.

thanks

Viewing all articles
Browse latest Browse all 42307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>