Actually creating the labels isn't really that difficult. Assume that you have a placeholder on your form named phControls your code would look something like this:
(Assume dt is a DataTable object)
for(int i = 0; i < dt.Rows.Count();i++)
Label lbl = new Label();
lbl.ID = "lbl" + Convert.ToString(i);
lbl.Text = Convert.ToString(dt.Rows[i]["SomeColumn"]);
This is pretty simple, however, if you run the code as is you will only see the last label added to the placeholder because each label in the code above would be placed in the exact same position within the placeholder, effectively stacking subsequent labels on top of one another.
To over come this assign values to the Top and Left properties of the label so:
lbl.Top = 10;
lbl.Left = 15;
Obviously you will need to change these values on each iteration of the loop but this should give you a good starting point.
Read this if you want to know how to get a correct reply for your question:
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7