惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
小众软件
小众软件
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
博客园 - 三生石上(FineUI控件)
博客园_首页
N
Netflix TechBlog - Medium
IT之家
IT之家
H
Help Net Security
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
罗磊的独立博客
T
Tailwind CSS Blog
F
Fortinet All Blogs
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
V
V2EX
量子位
云风的 BLOG
云风的 BLOG
爱范儿
爱范儿
博客园 - 司徒正美
The Cloudflare Blog
Engineering at Meta
Engineering at Meta

博客园 - しovのんeТs

推荐一个很好的网盘,可以在不同电脑间同步文件! VS 2005 VS2008 颜色配置文件下载 在CSDN上看到一个贴子,觉得写得很对,放这里,常看看! ASP.NET 2.0中动态添加 GridView 模板列的例子 ASP.NET 2.0中动态添加GridView - しovのんeТs - 博客园 GridView动态绑定数据、编辑、修改、删除及分页功能 找到一个全能的免费空间!支持SQL和.net2.0 黑英语笑话 ASP.NET 页的客户端 实用体系结构:逻辑分层 准备学2.0在网上找了个Vs2005团除版的http下载地址! 太闷了,换个样子! 现在又要开始忙了! 三个月试用期终于过去了!前途迷茫! 唉,好忙啊,总有做不完的事啊! 公司的网站完成,做一次总结 网站项目管理 如何才能成为一名真正的Web程序员 呵呵,随笔说明!
GridView中的鼠标特效 - しovのんeТs - 博客园
しovのんeТs · 2007-01-29 · via 博客园 - しovのんeТs

//加入鼠标滑过的高亮效果
            if (e.Row.RowType == DataControlRowType.DataRow)//判定当前的行是否属于datarow类型的行
            {
                //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色
                e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='yellow',this.style.fontWeight='';");
                //当鼠标离开的时候 将背景颜色还原的以前的颜色
                e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            }
            //单击行改变行背景颜色
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                e.Row.Attributes.Add("onclick", "this.style.backgroundColor='#99cc00'; this.style.color='buttontext';this.style.cursor='default';");
            }