Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding two text boxes together and displaying on label

Status
Not open for further replies.

slyr1338

Technical User
Nov 14, 2005
17
NZ
Hey,,

Im new to vb.net and i was just wondering if i have one text box. and another text box, how would i add them both toghter.

If the user enters "hi" and in the other text box "hello" it will display "hihello".

Any help.

3.9 ghz
512mb
xp home SPK2
80g
 
create a button, and in the click event write:

yourLabel.text = textbox1.text & textbox2.text
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top