protected void Page_Load(object sender, System.EventArgs e) { if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); } dataSource = Request.QueryString["datasource"]; dataType = Request.QueryString["datatype"]; if (dataType.ToUpper() != "STATIC") { BenQGuru.eMES.ReportView.ReportViewFacade rFacade = new BenQGuru.eMES.ReportView.ReportViewFacade(this.DataProvider); object[] objs = rFacade.QueryDataSourceById(dataSource); if (objs != null && objs.Length > 0) { dataSource = ((BenQGuru.eMES.Domain.ReportView.RptViewDataSource)objs[0]).SQL; } } dataCode = Request.QueryString["datacode"]; dataDesc = Request.QueryString["datadesc"]; }