A
Aaron Prohaska
I am having a problem databinding a combobox that I have on a form. I
have setup the databinding in the following way.
this.flexibilityList.Items.AddRange(new object[] {"0", "1", "2", "3",
"4", "5", "6", "7", "8", "9", "10"});
I then add the binding like this.
this.measurement = new BusinessEntity();
this.flexibilityList.DataBindings.Add("Text", this.measurement,
"Flexibility");
One of the properties of the business entity are Flexibility so I assume
that this is supposed to map the Flexibility property to the values
created in the Items.AddRange method. Can anyone tell me why this isn't
updating the Flexibility property of my business object when I change a
value in the ComboBox?
Regards,
Aaron Prohaska
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Wrench Science Inc.
http://www.wrenchScience.com/
Phone: 510.841.4748 x206
Fax: 510.841.4708
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
have setup the databinding in the following way.
this.flexibilityList.Items.AddRange(new object[] {"0", "1", "2", "3",
"4", "5", "6", "7", "8", "9", "10"});
I then add the binding like this.
this.measurement = new BusinessEntity();
this.flexibilityList.DataBindings.Add("Text", this.measurement,
"Flexibility");
One of the properties of the business entity are Flexibility so I assume
that this is supposed to map the Flexibility property to the values
created in the Items.AddRange method. Can anyone tell me why this isn't
updating the Flexibility property of my business object when I change a
value in the ComboBox?
Regards,
Aaron Prohaska
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Wrench Science Inc.
http://www.wrenchScience.com/
Phone: 510.841.4748 x206
Fax: 510.841.4708
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-