.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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -