Exemple #1
0
        private void lkbtnDeleteCheck_Click(object sender, EventArgs e)
        {
            string str = "";

            if (!string.IsNullOrEmpty(base.Request["CheckBoxGroup"]))
            {
                str = base.Request["CheckBoxGroup"];
            }
            if (str.Length <= 0)
            {
                this.ShowMsg("请选要删除的收款单", false);
            }
            else
            {
                int num;
                SalesHelper.DelPurchaseDebitNote(str.Split(new char[] { ',' }), out num);
                this.BindDebitNote();
                this.ShowMsg(string.Format("成功删除了{0}个收款单", num), true);
            }
        }