日期:2014-05-17  浏览次数:20418 次

后台添加onmouseover属性问题
我想为单元格加个onmouseover属性,在后台C#代码里面实现
Attributes.Add("onmouseover", "this.style.cursor=‘pointer’")
但是在执行后生成的页面中单引号被替换成了
onmouseover="this.style.cursor='ointer'"
单引号转成了'
哪位大侠知道这个怎么处理


------解决方案--------------------
Refer these:
http://www.cnblogs.com/insus/tag/onmouseover/