コード例 #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                this.DataSources = null;

                // free managed resources
                if (this.m_Viewer != null)
                    this.m_Viewer.Dispose();
            }
            // free native resources if there are any.
        }
コード例 #2
0
 public ReportViewer()
 {
     this.m_Viewer = new Microsoft.Reporting.WebForms.ReportViewer();
     this.DataSources = new cDataSource(this.m_Viewer);
     this.EnableFormat("HTML4.0");
     this.EnableFormat("IMAGE");
 }