How To Put Data At Run Time In a Table i.e Table Also Create At The Run Time?
<p>i am trying to put data as a summery in my application from data table in a label but i want to put data in a table inspite of label such that table also create a t run time wile my code is putting data ina label at run time .. .</p>

<pre><code> for (int m = 0; m &lt; dtGroupedByDate.Rows.Count; m++)
 {
      Label Date = new Label();
      Date.Text = dtGroupedByDate.Rows[m][0].ToString();
      Date.Style["margin-left"] = (m &gt; 0) ? "20px" : "0px";
      this.Controls.Add(Date);
      Label PowerSum = new Label();
      PowerSum.Text = dtGroupedByDate.Rows[m][1].ToString();
      PowerSum.Style["margin-left"] = "20px";
      this.Controls.Add(PowerSum);
 }
</code></pre>

<p>Hopes for your suggestions... 
Regards,</p>
