In the code below it is just adding the text like "Team 2", "Team 3", "Team 4". So what am I doing wrong?
Dim tcnt As Int
Dim IC As Int
Dim tmcnt As String
Dim tmname As String
tcnt = spnNumteams.SelectedItem
For IC = 2 To tcnt
tmcnt = """Team " & IC & ""","
tmname = tmname & tmcnt
Next
tmname = tmname.SubString2(0,tmname.Length -1)
spnNameTeams.Clear
spnNameTeams.AddAll (Array As String(tmname))
Dim tcnt As Int
Dim IC As Int
Dim tmcnt As String
Dim tmname As String
tcnt = spnNumteams.SelectedItem
For IC = 2 To tcnt
tmcnt = """Team " & IC & ""","
tmname = tmname & tmcnt
Next
tmname = tmname.SubString2(0,tmname.Length -1)
spnNameTeams.Clear
spnNameTeams.AddAll (Array As String(tmname))