在OnRowDataBound事件中绑定onclick事件: protected void gird_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Attributes.Add("onclick", "this.cells[0].childNodes[0].click()"); }