|
private void NRepeater_ItemDataBound (object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e)
{
for (int i = 0; i <this.NRepeater.Items.Count; i ++)
{
NRepeater.Items [i] .FindControl ("zp_lx"). Visible = false;
}
zp_lx is a LABEL control. I want to determine whether to display the control according to the parameters, but the page display is such an effect. For example, when displaying 6 pieces of data, the first piece of data, the property displayed by the Label control is not FALSE, but If true, what is the reason? |
|