gridview选中变色实现方法,.net

上传:harlen67022 浏览: 30 推荐: 0 文件:TXT 大小:309B 上传时间:2019-03-17 10:19:21 版权申诉
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#37B4F5';this.style.cursor='pointer'"); e.Row.Attributes.Add("onmouseout","this.style.backgroundColor=c");
上传资源
用户评论