コード例 #1
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);
     this.lblProductId.Text = model.ProductId.ToString();
     this.lblSaleType.Text  = model.SaleType.ToString();
     this.lblSiteId.Text    = model.SiteId.ToString();
 }
コード例 #2
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);
     this.lblProductId.Text=model.ProductId.ToString();
     this.lblSaleType.Text=model.SaleType.ToString();
     this.lblSiteId.Text=model.SiteId.ToString();
 }
コード例 #3
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.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);
 }