if (e.Row.RowState == DataControlRowState.Normal || e.Row.RowState == DataControlRowState.Alternate)
{
((LinkButton)e.Row.Cells[10].Controls[0]).Attributes.Add("onclick", "javascript:return confirm('你确定要删除\"" + e.Row.Cells[1].Text + "\"订单吗?')");
}
然后就出现标题的那个东西,麻烦解决下