.net - DataBinding feedback in .NET2 -


I have an object object. I do 1 form 1_load with a text box in the name 1 text1:

  this.TextBox1.DataBindings.Add ("text", myObject, "name");  

MyObject.Name has changed when I validate the text box. This is OK .

I now internally modify myObject _name = "converted values" , but myTextBox text will not change. So ... how to do it on both directions, to and to textbox1?

Your object needs to be implemented so that data binding will know that your object has changed.


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -