title: Can't get text to underline on hover?
body: <p>I have this code:</p>
  
  <pre><code>e.Row.Attributes["onmouseover"] = "this.style.textDecoration='underline';";
  e.Row.Attributes["onmouseout"] = "this.style.textDecoration='';";
  </code></pre>
  
  <p>This should make it so that when I hover over a row, all text in it will be underlined. But it's not working. I've also tried this:</p>
  
  <pre><code>e.Row.Attributes.Add("onmouseover", "this.style.textDecoration='underline'");
  </code></pre>
  
  <p>Which isn't working either.</p>
  
  <p>EDIT: This code works. Is there an alternative to style.textDecoration similar to this I could use, that does NOT require css?</p>
  
  <pre><code>e.Row.Attributes["onmouseover"] = "this.style.fontWeight='bold';";
  </code></pre>