title: Error Message: cannot bind to the property or column on the datasource. parameter name datamember c#
body: <p>I have a C# Windows Forms App which I edit using VS 2013. Data has been retrieved from an SQL database and stored in a DataTable called <code>Properties</code> within a DataSet (<code>ds</code>). No error when I fill the text field of a Label using:</p>
  
  <pre><code>label1.DataBindings.Add(new Binding("Text", ds.Tables["Properties"], "myColumn", true));
  </code></pre>
  
  <p>But, I get the error message if I use a BindingSource as the DataSource instead of the DataSet DataTable:</p>
  
  <p>Autogenerated code in the Designer file (BindingSource added to form from Toolbox):</p>
  
  <pre><code>private System.Windows.Forms.BindingSource bsProperties;
  this.bsProperties = new System.Windows.Forms.BindingSource(this.components);
  </code></pre>
  
  <p>In the code file:</p>
  
  <pre><code>bsProperties.DataSource = ds.Tables["Properties"];
  label1.DataBindings.Add(new Binding("Text", bsProperties, "myColumn", true));
  </code></pre>
  
  <p>Why do I get this error message when I try to access the same DataTable within the DataSet? Is the call to <code>DataBindings.Add()</code> different if I use a BindingSource as the DataSource instead of a DataSet DataTable as the DataSource?</p>
  
  <p>My ultimate goal is to use the BindingSource to fill a ComboBox and then the Label is filled with data that pertains to the selected item in the ComboBox (stored in the same row in the DataSet as the data in the ComboBox). For this I think I will need to use DataRowView but that is a question for another day.</p>