protected void btnRefresh_Click(object sender, EventArgs e)
    {
        Tz888.BLL.Pay dal    = new Tz888.BLL.Pay();
        string[]      values = Request.Form.GetValues("cbxSelect");
        string        sdt    = "";
        string        com    = "";
        bool          b      = true;

        foreach (string str in values)
        {
            b = dal.ShopCar_Delete(Convert.ToInt64(str));
            if (b)
            {
                com += "物品:" + str + "删除成功 \\n";
            }
            else
            {
                sdt += "物品:" + str + "删除失败 \\n";
            }
        }
        if (com.Length > 0)
        {
            Response.Write("<script>alert('" + com + "');</script>");
        }
        if (sdt.Length > 0)
        {
            Response.Write("<script>alert('" + sdt + "');</script>");
        }
    }
    public bool deleShopCar(string IDlist)
    {
        Tz888.BLL.Pay dal = new Tz888.BLL.Pay();
        string[]      a   = IDlist.Split(',');
        bool          b   = true;

        for (int i = 0; i < a.Length; i++)
        {
            if (a[i].ToString().Trim() != "")
            {
                b = dal.ShopCar_Delete(Convert.ToInt64(a[i].Trim()));
            }
        }
        return(b);
    }
    public bool DeleteShopCar(string shopcar)
    {
        Tz888.BLL.Pay dal = new Tz888.BLL.Pay();
        bool          b   = true;

        string[] a = shopcar.Split(',');
        for (int i = 0; i < a.Length; i++)
        {
            if (a[i].Trim() != "")
            {
                b = dal.ShopCar_Delete(Convert.ToInt64(a[i].Trim()));
            }
        }
        return(b);
    }