The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a ValueMember of a comboBox .
Now with this ValueMember I want to search and display the corresponding DisplayMember in the combobox.
The combobox is bound to a column 'Country' of a table.
'United States','Canada','Australia',etc are the DisplayMember with the ValueMember being 'US','CA','AU' resp.
If I get the value 'CA' on my form how do I display 'Canada' in the combobox.
Thanks a lot.
Bye
> I have a ValueMember of a comboBox .
> Now with this ValueMember I want to search and display the corresponding DisplayMember in the combobox.
> The combobox is bound to a column 'Country' of a table.
> 'United States','Canada','Australia',etc are the DisplayMember with the ValueMember being 'US','CA','AU' resp.
> If I get the value 'CA' on my form how do I display 'Canada' in the combobox.
> Thanks a lot.
> Bye
Just use the following code:
combobox.selectedvalue = 'CA'
JAJackfanOctober 21, 2002 12:26 PM UTC
But if I just want to get the value and not to call the combox's select event?