private void RptBind(string _strWhere, string _orderby) { BLL.StoreInGoodsVehicle goodsVehicleBLL = new BLL.StoreInGoodsVehicle(); DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.StoreWaitingGoodsId = " + this.id + "").Tables[0]; this.rptList.DataSource = goodsVehicleDT; this.rptList.DataBind(); }
private void ShowInfo(int _id) { BLL.StoreWaitingGoods bll = new BLL.StoreWaitingGoods(); Model.StoreWaitingGoods model = bll.GetModel(_id); ddlGoods.SelectedValue = model.GoodsId.ToString(); txtStoringTime.Text = model.StoringTime.ToString("yyyy-MM-dd"); txtAdmin.Text = model.Admin; txtRemark.Text = model.Remark; BLL.StoreInGoodsVehicle goodsVehicleBLL = new BLL.StoreInGoodsVehicle(); DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.StoreWaitingGoodsId = " + _id + "").Tables[0]; this.rptGoodsVehicleList.DataSource = goodsVehicleDT; this.rptGoodsVehicleList.DataBind(); BLL.Attach attachBLL = new BLL.Attach(); DataTable attachDT = attachBLL.GetList(" StoreWaitingGoodsId = " + _id + "").Tables[0]; this.rptAttachList.DataSource = attachDT; this.rptAttachList.DataBind(); }