Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Search behaviour in WinCombo
posted

Hi there,

 I have got a question about the search behaviour in a Combobox. I have got a Combo Box which is filled from a DataSet. There is an ID and a Value. I set   cmb.ValueMember = "id" and cmb.DisplayMember = "value".  eg. id=UZ value=usbekistan (german spelling). If I get into the box and type UZ it completes to usbekistan which is what I expected and wanted to have. But now I have id=US and value=Vereinigte Staaten von Amerika. If I type US it completes to Usbekistan.

Is it possible to configure the Combobox that only the ids will be matched and not what I use as values?

 

Regards,

Anja 

Parents Reply Children
No Data