Ok, I'm totally new at this. I know how to select items in one listbox and put them into another one... but I can't figure out how to put user-entered text into a listbox. I want the user to enter text in txtBox1, click btnAdd, and the text will appear in lstBox1. What's wrong with this code...??
PrivateSub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click
lstBox1.Items.Add(txtBox1.Text)
EndSub
PrivateSub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click
lstBox1.Items.Add(txtBox1.Text)
EndSub