if(e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "curruntcolor=this.style.backgroundColor;this.style.backgroundColor='#EFEFEF'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=curruntcolor");
//选择任意处都选择
e.Row.Attributes.Add("onClick", "javascript:__doPostBack('" + gvCustomer.ID + "','Select$" + e.Row.RowIndex + "');");
}