Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27338

VS 2008 Next item in Listbox appear to Label

$
0
0
Hi~

In order to get the next item in Listbox to be appear to Label(after first item finish to appear), any one can suggest me the correction of this code.

Code:

Dim x As String
For i As Integer = 0 To  ListBox1.Items.Count - 1
x +=  ListBox1.Items.Item(i) & " "
Next
Label1.Text = x

This code is appear all items in Listbox to Label in one row, which is out of my mission.

Help~ :(

Viewing all articles
Browse latest Browse all 27338

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>