if (e.Row.RowType == DataControlRowType.DataRow)
e.Row.Cells[6].Attributes.Add("onclick", "javascript:return confirm('你确认要删除/"" + e.Row.Cells[2].Text + "/"吗?')");
e.Row.Cells[6].Attributes.Add("onclick", "javascript:return confirm('你确认要删除/"" + e.Row.Cells[2].Text + "/"吗?')");