Run() public method

public Run ( ) : void
return void
 public static void Run(string ReportName, string Params, bool UserVar = false)
 {
     ViewReportExt viewext = new ViewReportExt (ReportName, UserVar);
     viewext.Params = Params;
     viewext.SaveToTemp ();
     viewext.Run ();
 }
Example #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();
        }
 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 ();
 }
Example #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();
        }