示例#1
0
        protected void btnClick_btnShow(object sender, EventArgs e)
        {
            DataSet      ds           = new DataSet();
            DispatchData dispatchdata = new DispatchData();
            int          brandid      = Convert.ToInt32(dpBrand.SelectedItem.Value);
            int          typeid       = Convert.ToInt32(dpType.SelectedItem.Value);
            int          commodityid  = Convert.ToInt32(dpCommodity.SelectedItem.Value);

            ds = dispatchdata.GetProductforIncentiveSetup(brandid, typeid, commodityid);
            if (!Comman.Comman.IsDataSetEmpty(ds))
            {
                rpBrandInfo.DataSource = ds;
                rpBrandInfo.DataBind();
                //rpBrandInfo.Visible = true;
                uprouteList.Update();
            }
        }