protected void BandInfo(int id)
 {
     ShowShop.BLL.Product.ProductBrand bll = new ShowShop.BLL.Product.ProductBrand();
     ShowShop.Model.Product.ProductBrand model = bll.GetModelID(id);
     this.txtName.Text = model.Name;
     this.txtSort.Text = model.Sort.ToString();
     ViewState["ID"] = model.ID;
 }
 private void del(int id)
 {
     ShowShop.BLL.Product.ProductBrand bll = new ShowShop.BLL.Product.ProductBrand();
     ShowShop.Model.Product.ProductBrand model = bll.GetModelID(id);
     if (model != null)
     {
         bll.Delete(id);
     }
     Response.Write("ok");
 }