コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            QuoteReport rpt = new QuoteReport();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        void QuoteReportWindow_Loaded(object sender, RoutedEventArgs e)
        {
            DataSet1    ds     = Services.QuotesServices.FindThisQuoteToReport(Data.SessionData.selectedQuoteToReport);
            QuoteReport objrpt = new QuoteReport();

            objrpt.SetDataSource(ds.Tables[1]);
            this.crystalReportsViewer1.ViewerCore.ReportSource = objrpt;
        }