protected void MasterCust_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowState == DataControlRowState.Alternate)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#eefef0';");
}
}
Is there a way to translate this code into CSS?
.grid.highlight
{
background-color: Blue;
}
Would something like this work?