protected void Page_Load(object sender, EventArgs e) { Permissions.ComRedirect(Page, Permissions.redirUrl); //权限 Response.Cache.SetExpires(DateTime.Now); Permissions.CheckManagePermission(EnumCompanyPermission.LogisticsRefundmentOrderBrowse); AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxClass)); if (!IsPostBack) { BindCountryList(); BindddlWareHouseList(); returnedGoodsBLL.GetDepotSeat(ddlDepotSeat, ddlWareHouse.SelectedValue); btn_Submit_Click(null, null); // Pager1.PageBind(0, 10, "InventoryDoc As D", "*", GetSQL(), "docid", "gvRefundmentBrowse"); } Translations(); }
protected void Page_Load(object sender, EventArgs e) { Permissions.ComRedirect(Page, Permissions.redirUrl); //检查相应权限 Response.Cache.SetExpires(DateTime.Now); Permissions.CheckManagePermission(EnumCompanyPermission.LogisticsDisplaceGoodsBrowse); AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxClass)); if (!IsPostBack) { BindddlWareHouseList(); returnedGoodsBLL.GetDepotSeat(ddlDepotSeat, ddlWareHouse.SelectedValue); DatePicker1.Visible = false; //gvDisplaceGoods.DataSource = bll.GetNoShenHe(getSQL()); //gvDisplaceGoods.DataBind(); Pager1.PageBind(0, 10, "Replacement As d inner join StoreInfo on d.storeid=StoreInfo.storeid ", " * ", getSQL(), "D.DisplaceOrderID", "gvDisplaceGoods"); } }