V
VM
How can I get the selected value of a Windows Listbox? It only has two items
(which I added through the Collection property) and everytime I get the
selectedIndex, it returns -1. If I use selectedvalue, I receive a Null
exception. From what I've read, the Text property can't be used (MS declared
it a bug).
Thanks.
(which I added through the Collection property) and everytime I get the
selectedIndex, it returns -1. If I use selectedvalue, I receive a Null
exception. From what I've read, the Text property can't be used (MS declared
it a bug).
Thanks.