I second Mark. By asp:Tab are you referring ajax control toolkit's Tab Panel? But just to get you started,
Label lbl = new Label();
lbl.Text = "Some sample text";
Panel pnl = new Panel();
pnl.ID = "someid";
pnl.Controls.Add(lbl);
tab1.Controls.Add(pnl);
You could do something like this.