Пример #1
0
        private void isDel()
        {
            int id = Convert.ToInt32(context.Request.QueryString["id"]);

            BLL.goods_account          bllga  = new BLL.goods_account();
            List <Model.goods_account> listga = bllga.GetModelList1("ga_zffs_id=" + id);

            if (listga.Count > 0)
            {
                context.Response.Write("err");
            }
            else
            {
                bllmp.Delete(id);
                context.Response.Write("ok");
            }
        }
Пример #2
0
 private void Bind(string goodno)
 {
     BLL.goods_account bllga = new BLL.goods_account();
     rep1.DataSource = bllga.GetModelList1("ga_goodNo='" + goodno + "'");
     rep1.DataBind();
 }