protected DataTable Query(string strAcctMonth, string strGoodsID) { DataTable dtout = new DataTable(); Hashtable htapp = (Hashtable)Application["appconf"]; string strcons = (string)htapp["cons"]; StoBusi = new BusiComm.StorageBusi(strcons); try { dtout = StoBusi.GetGoodsChart(strAcctMonth, strGoodsID); if (dtout == null) { this.SetErrorMsgPageBy2dir("查询出错,请重试!"); return(dtout); } else { return(dtout); } } catch (Exception er) { this.clog.WriteLine(er); this.SetErrorMsgPageBy2dir("查询错误,请重试!"); return(dtout); } }