protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover","this.style.backgroundColor='#E6F5FA'");
e.Row.Attributes.Add("onmouseoUT", "this.style.backgroundColor='#FFFFFF'");
}
}
GridView鼠标移过变色
最新推荐文章于 2020-11-26 15:36:46 发布