摘要:
在GV中常用到RowDataBound事件和写法.记下以备忘.if (e.Row.RowType == DataControlRowType.DataRow) { //鼠标划过样式 e.Row.Attributes.Add("onmouseover", "lastColor=this.style.backgroundColor;this.style.backgroundColor='#95b8e9';"); e.Row.Attributes.Add("onmouseout", "this.style.back 阅读全文