hansipet
February 28th, 2006, 10:00 AM
Is it possible to bind the possible values to a List and bind also the actual value to a property of an other class (bind in the same way as in TextBox.DataBinding)...
Regards
hansjörg
Regards
hansjörg
|
Click to See Complete Forum and Search --> : ComboBox and dataBinding hansipet February 28th, 2006, 10:00 AM Is it possible to bind the possible values to a List and bind also the actual value to a property of an other class (bind in the same way as in TextBox.DataBinding)... Regards hansjörg hspc February 28th, 2006, 10:06 AM Yes.. to bind to a list: Set the DataSource, ValueMember , and DisplayMember properties. Then bind the object's property value by adding it to the ComboBox's DataBinding collection. hansipet March 1st, 2006, 01:19 AM Thanks for your help!!! Regards Hansjörg codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |