Example #1
0
 protected void RPT_ItemCommand(object source, RepeaterCommandEventArgs e)
 {
     if (e.CommandName.Equals("Del"))
     {
         bll.DelByIDS(e.CommandArgument.ToString(), M_OrderList.StatusEnum.Recycle);
     }
     MyBind();
 }
Example #2
0
        protected void RPT_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            switch (e.CommandName.ToLower())
            {
            case "del":
                bll.DelByIDS(e.CommandArgument.ToString(), M_OrderList.StatusEnum.Recycle);
                break;

            case "recdel":
                bll.RealDelByIDS(e.CommandArgument.ToString());
                break;

            case "rec":
                bll.DelByIDS(e.CommandArgument.ToString(), M_OrderList.StatusEnum.Normal);
                break;
            }
            if (e.CommandName.Equals("Del"))
            {
            }
            else if (e.CommandName.Equals("RecDel"))
            {
            }
            MyBind();
        }