怎么样把下面的代码转成vb.net代码
'鼠标移动时不同行改变底色
e.Item.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundcolor;this.style.banckgroundcolor='#9999cc'");
e.Item.Attributes.Add("onmouseout", "this.style.backgroundcolor=currentcolor");
这段是我在书上找到的,是用于当鼠标移动时datagrid的不同行改变底色,可是我换成vb.net就完全没有作用,有知道的人请告诉我。
小妹在这里谢过了。
分数还可以在加的