UserControl uc = this.LoadControl("~/uscEvents.ascx") as UserControl; for (int i = 0; i < 5; i++) { panel.Controls.Add(uc); }
for (int i = 0; i < 5; i++) { UserControl uc = this.LoadControl("~/uscEvents.ascx") as UserControl; pnl.Controls.Add(uc); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)