用户名:
密 码: 记住
您当前的位置:首页 > 网络编程 > Net教程

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

时间:2015-01-29  来源:互联网  作者:佚名
复制代码 代码如下:
//光棒效果
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.style.backgroundColor=currentcolor");
}
}
来顶一下
返回首页
返回首页
推荐资讯
asp.net Page.EnableEventValidation 属性验证服务器控件的回发和回调事件出现的错误 asp.net Page.EnableEventValidati本以为页面很简单不会出现问题,但运行时出现了如下错误: P
asp.net下通过泛解析和伪静态实现二级域名的实现方法 asp.net下通过泛解析和伪静态实现二虽然最后是实现了,但身为程序员的我,却总是感觉利用其他不
相关文章
栏目更新
栏目热门