vb Code:
  1. Dim number As Integer = Cint(txta.text) + Cint(txtb.Text) + Cint(txtC.Text)

You should look at Integer.TryParse to make sure that the text in the textboxes can actually be added