Binding an object property to a TextBox

This is by far the easiest thing to do, and there are several examples online already. Consider the following Example:

        edc.tb3AColor1.DataBindings.Add("Text", this, "A_ColorMunsellNumber");

The example shows a panel containing a TextBox (tb3AColor1) where the DataBindings collection adds a binding from the Text property of the TextBox to the property A_ColorMunsel_Number property of "this" object. That's pretty much all there is to it.

TextBox (last edited 2009-12-30 00:07:29 by b12webproxy05)