G
Guest
Dear Experts
I got one technical question on using ListBox. I don't know how to solve it, please help.
Scenario
I placed a ListBox on the Form and I would like to allow my users to do multiple selection. After users select the item(s), I want to collect all the corresponding "SelectValue"(s)(SelectedValue is a property of the ListBox, as you know)
However, no matter how hard I tried, I was unable to iterate through all the selected items and found out the "SelectedValue"(s). Could you please tell me how to code
The setting of the ListBox is the following
Selection Mode: Multiple Extende
DataSouce: Dataset1.Customers (I am using ADO.NET
DisplayMember: CustomerNam
ValueMember: CustomerID (it is the source of "SelectedValue"
Thanks a lot for your help
Vincen
I got one technical question on using ListBox. I don't know how to solve it, please help.
Scenario
I placed a ListBox on the Form and I would like to allow my users to do multiple selection. After users select the item(s), I want to collect all the corresponding "SelectValue"(s)(SelectedValue is a property of the ListBox, as you know)
However, no matter how hard I tried, I was unable to iterate through all the selected items and found out the "SelectedValue"(s). Could you please tell me how to code
The setting of the ListBox is the following
Selection Mode: Multiple Extende
DataSouce: Dataset1.Customers (I am using ADO.NET
DisplayMember: CustomerNam
ValueMember: CustomerID (it is the source of "SelectedValue"
Thanks a lot for your help
Vincen