添加刪除提示

来源:互联网 发布:ubuntu配置shadowsock 编辑:程序博客网 时间:2024/04/29 05:33
if (e.Row.RowType == DataControlRowType.DataRow)
            e.Row.Cells[6].Attributes.Add("onclick", "javascript:return confirm('你确认要删除/"" + e.Row.Cells[2].Text + "/"吗?')");