title: How do you bind data to multiple columns in a list view?
body: <p>I have a datasource that I want to bind to a listview that has multiple columns. How do I bind my datasource to that listview</p>
  
  <p>Here is some pseudo code that doesn't work to help illustrate what I am trying to do:</p>
  
  <pre><code>MyDataTable dt = GetDataSource();
  ListView1.DataBindings.Add("Column1.Text", dt, "MyDBCol1");
  ListView1.DataBindings.Add("Column2.Text", dt, "MyDBCol2");
  </code></pre>
  
  <p>-- edit --</p>
  
  <p>Sorry, I forgot to mention it was winforms. </p>