2
Answers

Databind NameValueCollection to combo to display values of collection

Ask a question
Priyanka

Priyanka

14y
10.5k
1

Hi,
I am providing itemssource of a combobox to be a NameValueCollection.
But I am not able to see any thing in combo when I set the property:
cmb.DisplayMemberPath="Value";
I want the values of NameValueCollection to be displayed in combo.
How can i do this.!!!
Please help.
 
Thanks,
Priyanka

Answers (2)