VB.NET: Tips & Hints

Display a Strings

You can display a String in a label or textbox with the following code:

txtDisplay.Text = "Display this String"

Store as variable and then display

Dim string1 As String = "Display this String"
txtDisplay.Text = string1

Join two strings then display them

display1 = string2 & "+"& string1