62,046
社区成员
发帖
与我相关
我的任务
分享
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
//要先给height赋值
e.Row.Attributes.Add("height", "50px");
e.Row.Attributes.Add("onmouseover",
"currentcolor=this.style.backgroundColor;this.style.backgroundColor='#cccccc';alert(this.height);this.height = parseInt(this.height)+4;");
}