The idea to concatenate any existing text in the label with new text from the textbox, in vb.net, you use & to concatenate.
Say you label will add text from textbox upon a button click, see the following example:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text.Trim.Count > 0 Then
Label1.Text = Label1.Text & ", " & TextBox1.Text
End If
End Sub
I have wrapped the concatenation in an If block, do you know why?
++++++++++++++++++++++++++++++++++++++++++++
I have seen your response, it is not anywhere near your original question. However, I will answer that:
If I understand you correctly now, you are trying to concatenate txtScore1.text and txtScore2.text into the lblBox right?
lblBox.Text = txtScore1.Text & ", " & txtScore2.Text
Isn't this the same idea that I have provided in the above solution.
In addition, you should improve the construction of your program, the hint is you do not have to repeatedly assigning the textbox text to the label box at every if statement, just need to do it once at the end of all the if statements. Specifically how? I shall leave it as homework after all it is, isn't it.