GridView 添加鼠标效果
给Gridview添加鼠标移入移出的动态效果
1
e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#FFC0C0'");
2
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=c");
e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#FFC0C0'");2
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=c");
浙公网安备 33010602011771号