For i As Integer = 0 To ListBox1.Items.Count - 1 TextBox1.Text = TextBox1.Text + "-" + ListBox1.Items(i).Text Next TextBox1.Text = TextBox1.Text.Substring(1)
For i = 0 To ListBox1.Items.Count - 1 textbox1.Text = textbox1.Text & "-" & ListBox1.Items(i).ToString Next textbox1.Text = textbox1.Text.Substring(1)<pre lang="vb">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)