gridview选中变色实现方法,.net

时间:2015-03-30 06:32:57
【文件属性】:
文件名称:gridview选中变色实现方法,.net
文件大小:309B
文件格式:TXT
更新时间:2015-03-30 06:32:57
gridview 选中变色 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#37B4F5';this.style.cursor='pointer'"); e.Row.Attributes.Add("onmouseout","this.style.backgroundColor=c"); }

网友评论