Posted on: 8/11/2013 5:54:45 PM | Views : 260

hi,  I want to use a button to add up my text boxes when clicked,, however, covenrtin it to double or string wont work.. please help..

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim total As Double total = Convert.ToDouble(TextBox31.Text) + Convert.ToDouble(TextBox32.Text) + Convert.ToDouble(TextBox33.Text) + Convert.ToDouble(TextBox34.Text) + Convert.ToDouble(TextBox35.Text) TextBox60.Text = Convert.ToString(total) End Sub
...

Go to the complete details ...