B
bdog4
Is there a way to not apply this to the first row which is my header?
Thanks
Protected Sub GridView1_RowCreated(ByVal sender As Object, ByVal e
As System.Web.UI.WebControls.GridViewRowEventArgs) Handles
GridView1.RowCreated
If e.Row.RowState = DataControlRowState.Alternate OrElse
e.Row.RowState = DataControlRowState.Normal Then
e.Row.Attributes("onmouseover") =
"colorrow(this,'PaleGreen');"
e.Row.Attributes("onmouseout") =
"colorrow(this,'#FFFFFF');"
End If
End Sub
Thanks
Protected Sub GridView1_RowCreated(ByVal sender As Object, ByVal e
As System.Web.UI.WebControls.GridViewRowEventArgs) Handles
GridView1.RowCreated
If e.Row.RowState = DataControlRowState.Alternate OrElse
e.Row.RowState = DataControlRowState.Normal Then
e.Row.Attributes("onmouseover") =
"colorrow(this,'PaleGreen');"
e.Row.Attributes("onmouseout") =
"colorrow(this,'#FFFFFF');"
End If
End Sub