Hi guys,
I have to include add items into the listbox through textbox(i.e I have enter abc.com in the textbox and click "Add" button it will add the value to the list box as well as textbox value has been clear, so this provides the user add one more value in the textbox to add into the listbox).
Populate items listbox @ runtimeAdd multiple items in listbox thru textbox
Page 1 of 1
2 Replies - 11724 Views - Last Post: 22 June 2007 - 03:20 PM
Replies To: Populate items listbox @ runtime
#2
Re: Populate items listbox @ runtime
Posted 22 June 2007 - 08:44 AM
Just a slight disagreement on your rating of this problem, it's a pretty basic thing to do in VB.NET.
I feel like you may be a beginner with a class assignment perhaps, so I'm not going to give you the code straight off. Instead I'll ask, have you got any code so far? And if so, please post it and I will direct you, but will not just give you the answer.
I feel like you may be a beginner with a class assignment perhaps, so I'm not going to give you the code straight off. Instead I'll ask, have you got any code so far? And if so, please post it and I will direct you, but will not just give you the answer.
#3
Re: Populate items listbox @ runtime
Posted 22 June 2007 - 03:20 PM
That is very easy to do.
Me.Listbox1.Items.Add(Me.TextBox1.Text)
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote


|