Advertisement
jsauto

Untitled

Apr 9th, 2013
8,898
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.44 KB | None | 0 0
  1.     Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
  2.         ListBox1.Items.Add("A") '咞加Items
  3.         ListBox1.Items.Add("B")
  4.         ListBox1.Items.Add("C")
  5.         'Getting All Items
  6.         Dim sb As New System.Text.StringBuilder
  7.         For Each item In ListBox1.Items
  8.             sb.Append(item)
  9.             sb.Append(" ")
  10.         Next
  11.         MessageBox.Show(sb.ToString())
  12.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement