title: Cannot bind to the property or column "Column Name" on the DataSource. Parameter name: dataMember
body: <p>I have 2 DTO classes:</p>
  
  <pre><code>public class AddressDto
  {
      public string Street { get; set; }
      public string City { get; set; }
      public string PostCode { get: set: }
  }
  
  public class CustomerDto
  {
      public int Number{ get; set; }
      public string Name { get; set; }
      public AddressDto Address { get: set: }
  
      public CustomerDto() 
      {
          Address = new AddressDto();
      }
  }
  </code></pre>
  
  <p>I have a form with a binding source in it that binds to <code>CustomerDto</code>. I also have a custom control with the address fields. This custom control has a binding source that binds to <code>AddressDto</code> The control's textboxes are correctly bound to the address properties.</p>
  
  <p>The control exposes the following property:</p>
  
  <pre><code>[Bindable(BindableSupport.Yes, BindingDirection.TwoWay)]
  [Browsable(false)]
  public object Address
  {
      get { return bindingSource.DataSource; }
      set { bindingSource.DataSource = value; }
  }
  </code></pre>
  
  <p>On one machine I do not get any errors on <code>CheckBinding()</code>. However on another machine I get the above exception when I try to open the form in runtime. In designtime everything works fine.</p>
  
  <p>The control has 3 <code>TextBoxes</code> and the designer adds the following bindings:</p>
  
  <pre><code>this.bindingSource.AllowNew = true;
  this.bindingSource.DataSource = typeof(AddressDto);
  
  this.txtStreet.DataBindings.Add(new Binding("Text", this.bindingSource, "Street", true));
  this.txtCity.DataBindings.Add(new Binding("Text", this.bindingSource, "City", true));
  this.txtPostCode.DataBindings.Add(new Binding("Text", this.bindingSource, "PostCode", true));
  </code></pre>
  
  <p>Any ideas where the problem can be?</p>