Exemplo n.º 1
0
    public void Del(string num)
    {
        bool b = true;

        b = orderM.deleStrikeOrder(num, 1);
        if (b)
        {
            Response.Write("<script>alert('删除成功!')</script>");
        }
        else
        {
            Response.Write("<script>alert('删除失败!')</script>");
        }
    }
Exemplo n.º 2
0
    public bool DeleteOrder(string orderlist)
    {
        Tz888.BLL.OrderManage dal = new Tz888.BLL.OrderManage();
        string[] a = orderlist.Split(',');
        bool     b = true;

        for (int i = 0; i < a.Length; i++)
        {
            if (a[i].Trim() != "")
            {
                b = dal.deleStrikeOrder(a[i].Trim(), 1);
            }
        }
        return(b);
    }
Exemplo n.º 3
0
    public bool deleteOrd(string orderno)
    {
        Tz888.BLL.OrderManage dal = new Tz888.BLL.OrderManage();
        string[] orderlist        = orderno.Split(',');
        bool     b = true;

        for (int i = 0; i < orderlist.Length; i++)
        {
            if (orderlist[i].Trim() != "")
            {
                b = dal.deleStrikeOrder(orderlist[i].Trim(), 1);
            }
        }
        return(b);
    }