protected void RPT_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.CommandName.Equals("Del")) { bll.DelByIDS(e.CommandArgument.ToString(), M_OrderList.StatusEnum.Recycle); } MyBind(); }
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(); }