protected
void
GridView1_RowCreated(
object
sender, GridViewRowEventArgs e)
... {
if(e.Row.RowType==DataControlRowType.DataRow)
...{
e.Row.Attributes.Add("onmouseover","c=this.style.backgroundColor;this.style.backgroundColor='#00ffee'");
e.Row.Attributes.Add("onmouseout","this.style.backgroundColor=c");
}
}
... {
if(e.Row.RowType==DataControlRowType.DataRow)
...{
e.Row.Attributes.Add("onmouseover","c=this.style.backgroundColor;this.style.backgroundColor='#00ffee'");
e.Row.Attributes.Add("onmouseout","this.style.backgroundColor=c");
}
}