protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
    
{
        
if(e.Row.RowType==DataControlRowType.DataRow)
        
{
            e.Row.Attributes.Add(
"onmouseover","c=this.style.backgroundColor;this.style.backgroundColor='#00ffee'");
            e.Row.Attributes.Add(
"onmouseout","this.style.backgroundColor=c");
        }

    }
 
posted on 2006-12-06 21:10  wkjs  阅读(157)  评论(0编辑  收藏  举报