////删除提示框
    //protected void condition_RowDataBound(object sender, GridViewRowEventArgs e)
    //{
    //    if (e.Row.RowType == DataControlRowType.DataRow)
    //    {
    //        if (e.Row.RowState == DataControlRowState.Normal || e.Row.RowState == DataControlRowState.Alternate)
    //        {
    //            ((ImageButton)e.Row.Cells[2].Controls[0]).Attributes.Add("onclick", "javascript:return   confirm('你确认要删除吗?')");
    //        }
    //    }
    //}
posted on 2008-10-17 15:58  秦岭过客  阅读(376)  评论(0编辑  收藏  举报