populate an array from a listbox
Visual Studio
2
Posts
2
Posters
0
Views
1
Watching
-
I am having a senior moment. I have a listbox populated with three items. I need to copy the items in the listbox to an array.
Lonnie R Thomas
-
I am having a senior moment. I have a listbox populated with three items. I need to copy the items in the listbox to an array.
Lonnie R Thomas
Hi, for three items, you could do that in about three lines; or with a for loop; or just use ListBox.Items.CopyTo() which exists in both WinForms and Web.UI FYI: whichever way you go, as you don't need VS for this, it wasn't posted in the right forum. :)
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!