protected void btnOut_Click(object sender, EventArgs e) { MicroWebsiteGoods bllGoods = new MicroWebsiteGoods(); int Counts = this.NetPagerParameter.RecordCount; string strSql = this.QueryCondition(); strSql += " and MicroWebsiteGoods.MicroGoodsClassID = MicroWebsiteGoodsClass.MicroGoodsClassID"; DataTable dtGoods = bllGoods.GetListSP(100000, 1, out Counts, new string[] { strSql }).Tables[0]; DataExcelInfo.MicroGoodsListExcel(dtGoods, this._UserName); }