Reputation: 1937
I want to select a value from a list in inputbox. Something like that:
Dim test As String
test = InputBox("Here I want to have a list")
I don't know how to do that. Or what should use instead of InputBox
?
Upvotes: 1
Views: 195
Reputation: 6948
I would suggest a ComboBox which is designed to select an item and display it in a separate area. Put it in a Modal Form and you can replicate what you get from an InputBox.
Upvotes: 0
Reputation: 15
Yes i also suggest ListBox Control.... Please read below Article on ListBox Control: http://www.c-sharpcorner.com/uploadfile/abhikumarvatsa/listbox-control-in-asp-net3/
So that you can understand why we suggest ListBox Control.
Upvotes: 1
Reputation: 487
You can use ListBox control which is available in .NET
This article might be useful for you. http://www.aspdotnet-suresh.com/2010/12/how-to-move-listitems-from-one-listbox.html
Upvotes: 1