Пример #1
0
 public static void Run(string ReportName, string Params, bool UserVar = false)
 {
     ViewReportExt viewext = new ViewReportExt (ReportName, UserVar);
     viewext.Params = Params;
     viewext.SaveToTemp ();
     viewext.Run ();
 }
Пример #2
0
        public static void Run(string ReportName, string Params, bool UserVar = false)
        {
            ViewReportExt viewext = new ViewReportExt(ReportName, UserVar);

            viewext.Params = Params;
            viewext.SaveToTemp();
            viewext.Run();
        }
Пример #3
0
 public static void RunWithSubreports(string ReportName, string Params, string[] subReportNames, bool UserVar=false)
 {
     foreach (string subReportName in subReportNames) {
         ViewReportExt subReport = new ViewReportExt (subReportName, UserVar);
         subReport.Params = Params;
         subReport.SaveToTemp();
     }
     ViewReportExt report = new ViewReportExt (ReportName, UserVar);
     report.Params = Params;
     report.SaveToTemp ();
     report.Run ();
 }
Пример #4
0
        public static void RunWithSubreports(string ReportName, string Params, string[] subReportNames, bool UserVar = false)
        {
            foreach (string subReportName in subReportNames)
            {
                ViewReportExt subReport = new ViewReportExt(subReportName, UserVar);
                subReport.Params = Params;
                subReport.SaveToTemp();
            }
            ViewReportExt report = new ViewReportExt(ReportName, UserVar);

            report.Params = Params;
            report.SaveToTemp();
            report.Run();
        }