I am creating Label controls at runtime in a loop but there is no space between them.
How would I put some space in between? My code is:
for (int m = 0; m < dtGroupedByDate.Rows.Count; m++)
{
Label Date = new Label();
Date.Text = dtGroupedByDate.Rows[m][0].ToString();
this.Controls.Add(Date);
Label PowerSum = new Label();
PowerSum.Text = dtGroupedByDate.Rows[m][1].ToString();
this.Controls.Add(PowerSum);
}
Hope for your reply!
this line goes between those two adds