Highlight table row record

Dec 2 2013 7:18 AM
Hi everybody,

I have this:

[code]
 Protected Sub gvBewerking_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles gvBewerking.SelectedIndexChanged
        e.Row.Attributes.Add("OnMouseOver", "this.style.backgroundColor = '#eeeeee';this.style.cursor = 'hand';")
        e.Row.Attributes.Add("OnMouseOut", "this.style.backgroundColor = '#ffffff';")
    End Sub
[/code]

to highlight row. but this is not working.

THANKS

Answers (1)