title: Why DataColumn.Caption doesn't work?
body: <p>I am trying to create a <code>DataTable</code> and bind it to a <code>DataGridView</code>. It works, but I can't set columns headers via the <code>Caption</code> property. It displays headers using the <code>ColumnName</code> ("City") instead. <a href="http://msdn.microsoft.com/en-us/library/system.data.datacolumn.caption.aspx" rel="noreferrer">MSDN</a> says that </p>
  
  <blockquote>
    <p>"You can use the Caption property to display a descriptive or friendly
    name for a DataColumn."</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>DataColumn dc = new DataColumn("City", typeof(string));
  dc.Caption = "Город"; 
  
  DataTable dt = new DataTable();
  dt.Columns.Add(dc); 
  
  DataRow row = dt.NewRow(); 
  row["City"] = "Moscow";
  dt.Rows.Add(row);
  
  datagridview.DataSource = dt;
  </code></pre>