.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

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -