D
Derek Hart
How can I set the listbox value and retrieve a listbox value with just text?
I have filled the listbox with items in the items collection property (very
simple, just one column of text items).
I will have the text from a database and I know it is in the list. How can I
set it and retrieve it?
Do I need to loop the listbox to find matching text and set that
selectedindex to true.
Any sample code would be appreciated to get the text and set the text.
I have filled the listbox with items in the items collection property (very
simple, just one column of text items).
I will have the text from a database and I know it is in the list. How can I
set it and retrieve it?
Do I need to loop the listbox to find matching text and set that
selectedindex to true.
Any sample code would be appreciated to get the text and set the text.