コード例 #1
0
        private void btPreviewIEnumerable_Click(object sender, RoutedEventArgs e)
        {
            var report = new StiReport();

            report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
            report.Load("Reports/BusinessObjects_IEnumerable.mrt");
            report.ShowWithWpf();
        }
コード例 #2
0
        public IActionResult GetReportIEnumerable()
        {
            var report = new StiReport();

            report.Load(StiNetCoreHelper.MapPath(this, "Reports/BusinessObjects_IEnumerable.mrt"));
            report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());

            return(StiNetCoreViewer.GetReportResult(this, report));
        }
コード例 #3
0
        public ActionResult GetReportIEnumerable()
        {
            StiReport report = new StiReport();

            report.Load(Server.MapPath("~/Content/Reports/BusinessObjects_IEnumerable.mrt"));
            report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
            CheckReference(report);

            return(StiMvcViewer.GetReportResult(report));
        }
コード例 #4
0
        public IActionResult GetReportIEnumerableBO()
        {
            var report = new StiReport();

            report.Load(StiNetCoreHelper.MapPath(this, "Reports/BusinessObjects_IEnumerable_BO.mrt"));
            report.RegBusinessObject("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
            report.Dictionary.SynchronizeBusinessObjects(2);

            return(StiNetCoreViewer.GetReportResult(this, report));
        }
コード例 #5
0
        public ActionResult GetReportIEnumerableBO()
        {
            var report = new StiReport();

            report.Load(Server.MapPath("~/Content/Reports/BusinessObjects_IEnumerable_BO.mrt"));
            report.RegBusinessObject("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
            report.Dictionary.SynchronizeBusinessObjects(2);
            CheckReference(report);

            return(StiMvcViewer.GetReportResult(report));
        }