G
Guest
I have loaded my listbox with a dataset meaning I did the following.
Me.lstPortfolios.DataSource = Ports.Tables("Ports")
Me.lstPortfolios.DisplayMember = "PortfolioName"
Me.lstPortfolios.ValueMember = "PortfolioID"
And my properties are.
Me.lstPortfolios.MultiColumn = True
Me.lstPortfolios.SelectionMode= System.Windows.Forms.SelectionMode.MultiSimple
I have tried so many ways to get the display value that the user sees, but I
have not found a way yet and I'm getting pissed. It shouldn't be this hard
to find the displayed text where to get the ValueMember is a piece of
cake...enough ranting.
If someone can give me some ides on how to get the displayed text for the
multiple of items may select would be greatly appreciated.
Me.lstPortfolios.DataSource = Ports.Tables("Ports")
Me.lstPortfolios.DisplayMember = "PortfolioName"
Me.lstPortfolios.ValueMember = "PortfolioID"
And my properties are.
Me.lstPortfolios.MultiColumn = True
Me.lstPortfolios.SelectionMode= System.Windows.Forms.SelectionMode.MultiSimple
I have tried so many ways to get the display value that the user sees, but I
have not found a way yet and I'm getting pissed. It shouldn't be this hard
to find the displayed text where to get the ValueMember is a piece of
cake...enough ranting.
If someone can give me some ides on how to get the displayed text for the
multiple of items may select would be greatly appreciated.