• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

Read Listbox items

I need some help reading items out of a Listbox one item (row) at a time and display the item in a Label  

Example: Listbox entries
1
2
3
4
5


Listbox items read one at a time and put into individual Labels one number per Label would read like this:
1 2 3 4 5

I know it don't work but something like: Label3.Text = ListBox2.Item
0
teamdad
Asked:
teamdad
  • 2
1 Solution
 
Hans LangerCommented:
Hi
Label3.Text = ListBox1.Items.Item(0)
GL
0
 
Hans LangerCommented:
Or
Label3.Text = Convert.ToString(ListBox1.Items.Item(0))
0
 
teamdadAuthor Commented:
I'm still learning VB and learning the little things has been a big help here in this forum.

Thanks a bunch.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now