I\'m targeting the framework 4.0 and this works fine on the development machine, I can see at startup the form with the textbox displaying binded message in it. But when I deplo
Breaking change in 4.0. See .Net 4.0 simple binding issue
The work around is to use a BindingSource:
public Form1() {
InitializeComponent();
_dataContext = new SimpleDataContext { Prop = new SimpleProp { Note = "hi!" } };
BindingSource bs = new BindingSource(_dataContext, null);
textBox1.DataBindings.Add("Text", bs, "Prop.Note");
}