コード例 #1
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);
    }
コード例 #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);
    }
コード例 #3
0
    public bool deletelist(string orderNo)
    {
        Tz888.BLL.OrderManage dal = new Tz888.BLL.OrderManage();
        string[] a = orderNo.Split(',');
        bool     b = true;

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