Hi
I'm filling an ASP:Table with rows, cells and controls based on info I get from a database. For example :
private void AddRowToTable(Table TableName, string LabelText, int IDNumber, SqlDataSource ComboContents)
{
TableRow tr = new TableRow();
TableCell tc = new TableCell();
Label l = new Label();
l.Text = LabelText;
l.ID = "lblL" + IDNumber.ToString() + "Label";
tc.Controls.Add(l);
tr.Cells.Add(tc);
TableCell tc2 = new TableCell();
DropDownList l1combo = new DropDownList();
l1combo.ID = "ddlL" + IDNumber.ToString() ...
Go to the complete details ...