title: How to bind dynamic DataTable to DataList?
body: <p><strong>Code behind:</strong></p>
  
  <pre class="lang-cs prettyprint-override"><code>DataTable dt = new DataTable();
  dt.Columns.Add(new DataColumn("Rego No", typeof(string)));
  foreach (var item in list)
  { 
      dt.Columns.Add(new DataColumn(string.Format("{0:dd/MM}",item),typeof(string)));
      //enter code here 
  }
  dlcalender.DataSource = dt;
  dlcalender.DataBind();
  </code></pre>
  
  <p><strong>ASPX:</strong></p>
  
  <p><code>DataTable</code> columns are dynamic like dates. I am binding the <code>DataTable</code> but nothing is showing.</p>
  
  <p>Can you please guide me how to show the header list in <code>DataTable</code>?</p>