//今天给组删除加了个提示,纪念一下
protected void gv_Group_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            e.Row.Cells[e.Row.Cells.Count - 1].Attributes.Add("onclick", "return confirm('确定删除 [ " + DataBinder.Eval(e.Row.DataItem,"GroupName") +" ] 吗?')");
        }
    }

0
0
(请您对文章做出评价)
« 上一篇:发短信的处理方法(发短信的方法是短信提供商给的方法)
» 下一篇:DataList绑定数据库中二进制存储格式的图片----用到缓存^O^