Getting the ValueMember of a CheckedListBox given the DisplayMember
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
How can I get the ValueMember of a CheckedListBox object if I know the DisplayMember? this is how I load the CheckedListBox : ComboBox1.DisplayMember = "FirstNames" ComboBox1.ValueMember = "id" ComboBox1.DataSource = objDS.Tables("table2") now I need to get the valueMember of a displayMember(ex displayMember = "John"). Thanks, Martin
-
How can I get the ValueMember of a CheckedListBox object if I know the DisplayMember? this is how I load the CheckedListBox : ComboBox1.DisplayMember = "FirstNames" ComboBox1.ValueMember = "id" ComboBox1.DataSource = objDS.Tables("table2") now I need to get the valueMember of a displayMember(ex displayMember = "John"). Thanks, Martin