public override void DataBind() { this.Items.Clear(); if (this.AllowNull) { base.Items.Add(new System.Web.UI.WebControls.ListItem(this.NullToDisplay, string.Empty)); } System.Collections.Generic.IList <ProductLineInfo> authorizeProductLineList = SubSiteProducthelper.GetAuthorizeProductLineList(); foreach (ProductLineInfo current in authorizeProductLineList) { this.Items.Add(new System.Web.UI.WebControls.ListItem(Globals.HtmlDecode(current.Name), current.LineId.ToString())); } }