Hi,
Is it possible to programatically select an option within a list view by a value, rather than it's index e.g.
If I have a List of e.g People, with attributes FirstName and Age, (e..g Data :-
Dave 25
Fred 12
Bert 50)
and set this as the item source to the list view, this displays fine on my form,
What I wish to be able to to do is programatically select the item in the list that has an age of e.g 50, which would be Bert.
I can see how to select an item by it's index, but not by a value in the underlying data source (Ive used other controls, and they had a displaymember and a value member, whereby the items in the list can selected via the valuemember fields value)
can you please help?
Many thanks,
Nick