Esempio n. 1
0
 private void GenerateReport(LocalReport lr, ReportParemeter Paras)
 {
     lr.LoadReportDefinition(GetReportStream(Paras.MainReport.ReportName));
     //lr.DataSources.Add(new ReportDataSource("dsTemplateNomal", ReportHeader));
     //--
     ReportSourceParameter = Paras;
 }
Esempio n. 2
0
        public void PrintReport(params object[] QueryParas)
        {
            LocalReport Report = new LocalReport();

            Report.SubreportProcessing += LocalReport_SubreportProcessing;

            ReportParemeter RepParas = new ReportParemeter();

            GenerateReportDataSource(RepParas, QueryParas);
            GenerateReport(Report, RepParas);

            Print(Report);
        }
Esempio n. 3
0
 protected virtual void GenerateReportDataSource(ReportParemeter Paras, params object[] QueryParas)
 {
 }