private void RptBind(string _strWhere, string _orderby)
 {
     BLL.StoreOutGoodsVehicle goodsVehicleBLL = new BLL.StoreOutGoodsVehicle();
     DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.StoreOutWaitingGoodsId = " + this.id + "").Tables[0];
     this.rptList.DataSource = goodsVehicleDT;
     this.rptList.DataBind();
 }
        private void RptBind(string _strWhere, string _orderby)
        {
            BLL.StoreOutGoodsVehicle goodsVehicleBLL = new BLL.StoreOutGoodsVehicle();
            DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.StoreOutWaitingGoodsId = " + this.id + "").Tables[0];

            this.rptList.DataSource = goodsVehicleDT;
            this.rptList.DataBind();
        }
示例#3
0
        private void ShowInfo(int _id)
        {
            BLL.StoreOutWaitingGoods   bll   = new BLL.StoreOutWaitingGoods();
            Model.StoreOutWaitingGoods model = bll.GetModel(_id);

            ddlStoreInOrder.SelectedValue = model.StoreInOrderId.ToString();
            StoreInGoodsBind(model.StoreInOrderId);
            ddlStoreInGoods.SelectedValue = model.StoreInGoodsId.ToString() + "|" + model.GoodsId.ToString();
            txtStoringTime.Text           = model.StoringOutTime.ToString("yyyy-MM-dd");
            txtAdmin.Text  = model.Admin;
            txtRemark.Text = model.Remark;

            BLL.StoreOutGoodsVehicle goodsVehicleBLL = new BLL.StoreOutGoodsVehicle();
            DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.StoreOutWaitingGoodsId = " + _id + "").Tables[0];

            this.rptGoodsVehicleList.DataSource = goodsVehicleDT;
            this.rptGoodsVehicleList.DataBind();
        }
        private void ShowInfo(int _id)
        {
            BLL.StoreOutWaitingGoods bll = new BLL.StoreOutWaitingGoods();
            Model.StoreOutWaitingGoods model = bll.GetModel(_id);

            ddlStoreInOrder.SelectedValue = model.StoreInOrderId.ToString();
            StoreInGoodsBind(model.StoreInOrderId);
            ddlStoreInGoods.SelectedValue = model.StoreInGoodsId.ToString() + "|" + model.GoodsId.ToString();
            txtStoringTime.Text = model.StoringOutTime.ToString("yyyy-MM-dd");
            txtAdmin.Text = model.Admin;
            txtRemark.Text = model.Remark;

            BLL.StoreOutGoodsVehicle goodsVehicleBLL = new BLL.StoreOutGoodsVehicle();
            DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.StoreOutWaitingGoodsId = " + _id + "").Tables[0];
            this.rptGoodsVehicleList.DataSource = goodsVehicleDT;
            this.rptGoodsVehicleList.DataBind();
        }