title: How do I add data to a table in my code behind and display in html?
body: <p>I would like to pull data from my server and add to a table object.  Loop thru the data afterwhich I would like to display the results on the aspx page. </p>
  
  <pre><code>DataTable dTable = new DataTable();
  dTable.Columns.Add("idNum", typeof(Int64));
  dTable.Columns.Add("Name", typeof(String));
  dTable.Columns.Add("Age", typeof(Int64));
  //Connection/Command/Statement
  DataReader dr = command.ExecuteReader();
  while (dr.Read()) { /*Add data to rows*/ }
  </code></pre>
  
  <p>How do I add the data to the rows? What is the best way to display on aspx?</p>