Exemplo n.º 1
0
 private void dlstPtReviews_DeleteCommand(object source, System.Web.UI.WebControls.DataListCommandEventArgs e)
 {
     if (VShopHelper.DeleteAlarm(System.Convert.ToInt32(e.CommandArgument, System.Globalization.CultureInfo.InvariantCulture)))
     {
         this.ShowMsg("删除成功", true);
         this.BindPtReview();
     }
     else
     {
         this.ShowMsg("删除失败", false);
     }
 }
Exemplo n.º 2
0
 private void dlstPtReviews_DeleteCommand(object source, DataListCommandEventArgs e)
 {
     if (VShopHelper.DeleteAlarm(Convert.ToInt32(e.CommandArgument, CultureInfo.InvariantCulture)))
     {
         this.ShowMsg("删除成功", true);
         this.BindPtReview();
     }
     else
     {
         this.ShowMsg("删除失败", false);
     }
 }