private void ShowInfo(int SalesType, int ProductId, int RuleType) { NoName.NetShop.BLL.SalesInfoModelBll bll = new NoName.NetShop.BLL.SalesInfoModelBll(); NoName.NetShop.Model.SalesInfoModel model = bll.GetModel(SalesType, ProductId, RuleType); this.lblSalesType.Text = model.SalesType.ToString(); this.lblProductId.Text = model.ProductId.ToString(); this.lblRuleType.Text = model.RuleType.ToString(); this.txtSortValue.Text = model.SortValue.ToString(); }
private void ShowInfo(int SalesType,int ProductId,int RuleType) { NoName.NetShop.BLL.SalesInfoModelBll bll=new NoName.NetShop.BLL.SalesInfoModelBll(); NoName.NetShop.Model.SalesInfoModel model=bll.GetModel(SalesType,ProductId,RuleType); this.lblSalesType.Text=model.SalesType.ToString(); this.lblProductId.Text=model.ProductId.ToString(); this.lblRuleType.Text=model.RuleType.ToString(); this.txtSortValue.Text=model.SortValue.ToString(); }