1. 首页
  2. 数据库
  3. 其它
  4. asp.net下让Gridview鼠标滑过光棒变色效果

asp.net下让Gridview鼠标滑过光棒变色效果

上传者: 2021-02-01 09:21:25上传 PDF文件 28.9KB 热度 5次
代码如下://光棒效果 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add(“onmouseover”, “currentcolor=this.style.backgroundColor;this.style.backgroundColor=’#FFFDD7′”); e.Row.Attributes.Add(“onmouseout”, “this.
下载地址
用户评论