高亮显示GridView当前行
| protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='yellow',this.style.fontWeight='bold'"); e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='white',this.style.fontWeight=''"); } |
浙公网安备 33010602011771号