title: ASP.net programmatically bind dataset to gridview
body: <p>I have a data set with about 15 columns, and I also have an ASP.net gridview. I was wondering if any one knew how I can populate the gridview with the dataset, but the issue is I just want a few of the columns from the dataset.</p>
  
  <p>at the moment I'm just doing </p>
  
  <pre><code>    GridView1.DataSource = ds;
      GridView1.DataBind();
  </code></pre>
  
  <p>but this obviously binds all the columns from the dataset to the gridview.</p>