private void ShowInfo(int ProductId, int SaleType, int SiteId)
 {
     NoName.NetShop.BLL.SalesProductModelBll bll   = new NoName.NetShop.BLL.SalesProductModelBll();
     NoName.NetShop.Model.SalesProductModel  model = bll.GetModel(ProductId, SaleType, SiteId);
     this.lblProductId.Text = model.ProductId.ToString();
     this.lblSaleType.Text  = model.SaleType.ToString();
     this.lblSiteId.Text    = model.SiteId.ToString();
 }
 private void ShowInfo(int ProductId,int SaleType,int SiteId)
 {
     NoName.NetShop.BLL.SalesProductModelBll bll=new NoName.NetShop.BLL.SalesProductModelBll();
     NoName.NetShop.Model.SalesProductModel model=bll.GetModel(ProductId,SaleType,SiteId);
     this.lblProductId.Text=model.ProductId.ToString();
     this.lblSaleType.Text=model.SaleType.ToString();
     this.lblSiteId.Text=model.SiteId.ToString();
 }
        protected void btnAdd_Click(object sender, EventArgs e)
        {
            string strErr="";

            if(strErr!="")
            {
            MessageBox.Show(this,strErr);
            return;
            }

            NoName.NetShop.Model.SalesProductModel model=new NoName.NetShop.Model.SalesProductModel();

            NoName.NetShop.BLL.SalesProductModelBll bll=new NoName.NetShop.BLL.SalesProductModelBll();
            bll.Update(model);
        }
예제 #4
0
        protected void btnAdd_Click(object sender, EventArgs e)
        {
            string strErr = "";

            if (strErr != "")
            {
                MessageBox.Show(this, strErr);
                return;
            }

            NoName.NetShop.Model.SalesProductModel model = new NoName.NetShop.Model.SalesProductModel();

            NoName.NetShop.BLL.SalesProductModelBll bll = new NoName.NetShop.BLL.SalesProductModelBll();
            bll.Add(model);
        }
예제 #5
0
 private void ShowInfo(int ProductId, int SaleType, int SiteId)
 {
     NoName.NetShop.BLL.SalesProductModelBll bll   = new NoName.NetShop.BLL.SalesProductModelBll();
     NoName.NetShop.Model.SalesProductModel  model = bll.GetModel(ProductId, SaleType, SiteId);
 }
예제 #6
0
 private void ShowInfo(int ProductId,int SaleType,int SiteId)
 {
     NoName.NetShop.BLL.SalesProductModelBll bll=new NoName.NetShop.BLL.SalesProductModelBll();
     NoName.NetShop.Model.SalesProductModel model=bll.GetModel(ProductId,SaleType,SiteId);
 }