pb12.52下 tabular类型数据窗口是什么问题

2024-11-15 15:18:42
推荐回答(1个)
回答1:

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='ivory'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='white'");

}

}