If i understand you well...
DataTable dt = GetChecked();
int h = 24;
for(int i=0; i<dt.Rows.Count; i++)
{
DataRow r = dt.Rows[i];
Label lbl = new Label();
lbl.Name = string.Format("Label", i);
lbl.Location = new System.Drawing.Point(20, h*i+8);
lbl.Width = 120;
lbl.Height = h;
lbl.Parent = this;
lbl.Text = r["MemberCode"].ToString();
}
BUT...
I'd suggest to use
DataGridView control[
^] for such of requirement for set of reson. One of them is a easy way to bind and display data:
this.DataGridView1.DataSource = GetChecked();