Protected void repeaterincluitemdatabound (Object sender, repeateritemeventargs E)
{
If (E. Item. itemtype! = Listitemtype. Header & E. Item. itemtype! = Listitemtype. footer)
{
If (string. isnullorempty (E. Item. findcontrol ("label1") as label). Text. Trim ()))
{
// E. Item. findcontrol ("name"). Controls. Clear ();
(E. Item. findcontrol ("name") as control). Visible = false;
}
If (string. isnullorempty (E. Item. findcontrol ("label10") as label). Text. Trim ()))
{
// (E. Item. findcontrol ("dianhua") as htmlgenericcontrol). Visible = false;
// E. Item. findcontrol ("dianhua"). Controls. Clear ();
(E. Item. findcontrol ("dianhua") as control). Visible = false;
}
If (string. isnullorempty (E. Item. findcontrol ("label13") as label). Text. Trim ()))
{
(E. Item. findcontrol ("Fox") as control). Visible = false;
// E. Item. findcontrol ("Fox"). Controls. Clear ();
// (E. Item. findcontrol ("Fox") as htmlgenericcontrol). Visible = false;
}
If (string. isnullorempty (E. Item. findcontrol ("label11") as label). Text. Trim ()))
{
(E. Item. findcontrol ("Shouji") as control). Visible = false;
// E. Item. findcontrol ("Shouji"). Controls. Clear ();
// (E. Item. findcontrol ("Shouji") as htmlgenericcontrol). Visible = false;
}
If (string. isnullorempty (E. Item. findcontrol ("label12") as label). Text. Trim ()))
{
(E. Item. findcontrol ("email") as control). Visible = false;
// E. Item. findcontrol ("email"). Controls. Clear ();
// (E. Item. findcontrol ("email") as htmlgenericcontrol). Visible = false;
}
If (string. isnullorempty (E. Item. findcontrol ("label23") as label). Text. Trim ()))
{
(E. Item. findcontrol ("add") as control). Visible = false;
// E. Item. findcontrol ("add"). Controls. Clear ();
// (E. Item. findcontrol ("add") as htmlgenericcontrol). Visible = false;
}
If (string. isnullorempty (E. Item. findcontrol ("label21") as label). Text. Trim ()))
{
(E. Item. findcontrol ("Zip") as control). Visible = false;
// E. Item. findcontrol ("Zip"). Controls. Clear ();
// (E. Item. findcontrol ("Zip") as htmlgenericcontrol). Visible = false;
}
Htmltablecell tdview = E. Item. findcontrol ("tdview") as htmltablecell;
Tdview. Visible = false;
If (request ["groupid"]! = NULL)
{
Tdview. Visible = true;
}
}
}