예제 #1
0
 private void reActivities_ItemCommand(object obj, RepeaterCommandEventArgs repeaterCommandEventArg)
 {
     if (repeaterCommandEventArg.CommandName == "Delete")
     {
         if (VShopHelper.DeleteActivities(int.Parse(repeaterCommandEventArg.CommandArgument.ToString())))
         {
             this.BindActivities();
             this.ShowMsg("ɾ³ý³É¹¦", true);
             return;
         }
         this.ShowMsg("ɾ³ýʧ°Ü", false);
     }
 }
예제 #2
0
 private void reActivities_ItemCommand(object sender, RepeaterCommandEventArgs e)
 {
     if (e.CommandName == "Delete")
     {
         if (VShopHelper.DeleteActivities(int.Parse(e.CommandArgument.ToString())))
         {
             this.BindData();
             this.ShowMsg("删除成功", true);
         }
         else
         {
             this.ShowMsg("删除失败", false);
         }
     }
 }