Пример #1
0
 private void grdAfficheList_RowDeleting(object sender, System.Web.UI.WebControls.GridViewDeleteEventArgs e)
 {
     if (NoticeHelper.DeleteAffiche((int)this.grdAfficheList.DataKeys[e.RowIndex].Value))
     {
         this.BindAffiche();
         this.ShowMsg("成功删除了选择的公告", true);
         return;
     }
     this.ShowMsg("删除失败", false);
 }
Пример #2
0
 private void grdAfficheList_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     if (NoticeHelper.DeleteAffiche((int)grdAfficheList.DataKeys[e.RowIndex].Value))
     {
         BindAffiche();
         ShowMsg("成功删除了选择的公告", true);
     }
     else
     {
         ShowMsg("删除失败", false);
     }
 }