vincent15mark
Member
- Joined
- Sep 12, 2010
- Messages
- 5
- Programming Experience
- Beginner
How can I count the number of items in my listbox.
here is my codes:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
myListbox.Items.Add(txtText.Text & "")
End Sub
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
txtTextListCount.Text = myListbox.Items.Count
End Sub
please help me guys..
thank you