为GridView的行添加鼠标经过、点击事件的小例子
2017-02-06
22
复制代码 代码如下: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor="#95B8FF""); e.Row.Attributes.Add("onmouseout",...