title: Create DataGridView columns from Table values
body: <p>I am using data grid view in Windows Form standalone application to display items as excel spread sheet in VB.NET. I got a table named CostTypes with column names [CostTypeID, CostType] and values  [1,External] and [2,Internal] (These are constant but more values can be added to table). </p>
  
  <p>I want to <strong>create columns with names of the values[External , Internal] in DataGridView</strong>. If I use databiding directly I get columns [CostTypeID,CostType] which is not what I am looking for.</p>
  
  <p>If some one could explain how to create columns at runtime in datagridview or how to retrieve data from data base using LINQ so that [External , Internal] turn out to be columns that would be great.</p>
  
  <p>Thanks in advance.</p>