首页 > 其他 > 详细

GridView控件的光棒效应

时间:2015-08-13 22:00:23      阅读:227      评论:0      收藏:0      [点我收藏+]
1 // 光棒效应
2         protected void gvBookInfos_RowDataBound(object sender, GridViewRowEventArgs e)
3         {
4             if(e.Row.RowType==DataControlRowType.DataRow)
5             {
6                 e.Row.Attributes.Add("onmouseover", "currentColor=this.style.backgroundColor;this.style.backgroundColor=‘yellow‘");
7                 e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentColor");
8             }
9         }

 

GridView控件的光棒效应

原文:http://www.cnblogs.com/xjx8205/p/4728383.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!