Mine
public text v1 · immutable PlaceHolder pwl=( PlaceHolder ) Page.FindControl ( "PHCartDetails" );
//PlaceHolder pl=( PlaceHolder ) Page.FindControl ( "PHDetail" );
Label lbl=null;
foreach ( Control ctl in pwl.Controls )
{
if ( ctl is Label )
lbl=( Label ) ctl;
}
foreach(object obj in ar)
{
if(obj is Table)
{
Table oTable = (Table) obj;
this.phCartDetails.Controls.Add(oTable);
}
}