By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,460 Members | 1,508 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,460 IT Pros & Developers. It's quick & easy.

Databinding to a combobox

P: n/a

I try to bind a datasource to my combobox. The datasource is an array of objects.

Then I set the cmb01.displaymember = "Propertyname1".
Till here everything works fine.
But then I will also set the valuemember like this :
cmb01.ValueMember = "PopertyName2".

At runtime I receive always following exception :

"Could not bind to new display member. Parametername is newdisplaymember"
What will this mean? And how I have to resolve it?

Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Sorru, thats the message I receiving now. It is a system.argumentexception
{"Could not bind to the new value member.\r\nParameter name: value"
I don't find a solution for this

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.