let it be
行到水穷处 坐看云起时
摘要: 在girdview中的RowDataBound事件中写下如下代码:protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='yellow';&q 阅读全文
posted @ 2011-12-02 08:24 流浪浪 阅读(459) 评论(0) 推荐(0) 编辑