What do you mean strCode is in the combo (do you mean it is a property that you want to display)? DisplayMember isn't how you get the SelectedItem of the combobox if that is what you are trying to do.
Not sure you are looking for this..
vb6
Me.ComboName = strCode
vb.net
Me.ComboName.Text = strCode
________________________________________________________
Zameer Abdulla
Help to find Missing people Seek counsel of him who makes you weep, and not of him who makes you laugh.
What do you mean strCode is in the combo (do you mean it is a property that you want to display)? DisplayMember isn't how you get the SelectedItem of the combobox if that is what you are trying to do.
It is a value in the combo box that I want to be highlighted on the combo?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.