Thanks Cor
But this doesn't seem to work for me ...
I have:
Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
Dim player1 As String
Dim player2 As String
Dim player3 As String
Dim player4 As String
'this part saves the info for the players
player1 = TextBox1.Text
player2 = TextBox2.Text
player3 = TextBox3.Text
player4 = TextBox4.Text
'continues up to player20
Dim mysb As New Stringbuilder
mysb.add(TextBox1.Text)
mysb.add(",")
mysb.add(TextBox2.Text)
dim mystring to write = mysb.tostring
End Sub
and i get syntax error with this code.
But the syntax
"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Gordon,.
Use a string builder,
Someting as
\\\
dim mysb as new stringbuilder
mysb.add(mytextbox1.text)
mysb.add(",")
mysb.add(mytextbox2.text)
'and so on.
dim mystring to write = mysb.tostring
///
I hope this helps,
Cor