string id = GridView1.DataKeys[gvQuotedprice.SelectedRow.RowIndex].Values[0].ToString();取得GridView1设置的当前行的DataKeys值
e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#A9A9A9'"); //当鼠标停留时更改背景色
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=c");//当鼠标移开时还原背景色
e.Row.Attributes["style"] = "Cursor:hand";//设置悬浮鼠标指针形状为"小手"
LinkButton btn = (LinkButton)e.Row.FindControl("btnSelect");
e.Row.Attributes["OnDblClick"] = Page.GetPostBackClientHyperlink(btn, "");//OnDblClick双击,OnClick单击