protected void btnOut_Click(object sender, EventArgs e) { string strSql = this.QueryCondition(); GoodsNumber bllGoodsNumber = new GoodsNumber(); int Counts = this.NetPagerParameter.RecordCount; strSql = PubFunction.GetShopAuthority(this._UserShopID, "ShopID", strSql); DataTable db = bllGoodsNumber.GetListSP(100000, 1, out Counts, new string[] { strSql }).Tables[0]; DataExcelInfo.GoodsStockTotalExcel(db, this._UserName); }