得用js实现吗?

解决方案 »

  1.   

        e.Row.Attributes.Add("onmouseover", "currentClass=this.className;this.className='SelectedRow'");
                    e.Row.Attributes.Add("onmouseout", "this.className=currentClass");
      

  2.   

     e.Row.Attributes.Add("onmouseover", "currentClass=this.className;this.className='SelectedRow'");
                    e.Row.Attributes.Add("onmouseout", "this.className=currentClass");