解释下这段JS代码是什么意思啊private void grdGzlxb_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if(e.Item.ItemIndex >= 0) { e.Item.Attributes[onmouseover] = this.name=this.style.backgroundColor;this.style.backgroundColor='#cccccc'; e.Item.Attributes[onmouseout] = this.style.backgroundColor=this.name;; }
网友回答
【答案】 ItemDataBound函数表示在Repeater控件数据绑定后发生的事件。