GridView 的各种操作
摘要:
在RowDataBound事件中加入如下代码protectedvoidgv_projectDocumentView_RowDataBound(objectsender,GridViewRowEventArgse){if(e.Row.RowType==DataControlRowType.DataRow){//鼠标经过时,行背景色变e.Row.Attributes.Add("onmouseover","this.style.backgroundColor='#00A9FF'");//鼠标移出时,行背景色变e.Row.Attributes.A 阅读全文
posted @ 2012-03-20 09:28 CANYOUNG 阅读(145) 评论(0) 推荐(1) 编辑