protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='Gray'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='white'");
}
}
相关文章:
-
2022-12-23
-
2021-09-09
-
2022-02-22
-
2022-01-14
-
2021-06-05
-
2022-12-23
-
2022-12-23
猜你喜欢
-
2022-01-21
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2021-10-16
-
2022-12-23
-
2021-08-26
相关资源
-
下载
2023-01-10
-
下载
2023-01-12
-
下载
2021-06-07
-
下载
2021-06-07