Esempio n. 1
0
        private void btPreviewITypedList_Click(object sender, RoutedEventArgs e)
        {
            var report = new StiReport();

            report.RegData("EmployeeITypedList", CreateBusinessObjectsITypedList.GetEmployees());
            report.Load("Reports/BusinessObjects_ITypedList.mrt");
            report.ShowWithWpf();
        }
Esempio n. 2
0
        public IActionResult GetReportITypedList()
        {
            var report = new StiReport();

            report.Load(StiNetCoreHelper.MapPath(this, "Reports/BusinessObjects_ITypedList.mrt"));
            report.RegData("EmployeeITypedList", CreateBusinessObjectsITypedList.GetEmployees());

            return(StiNetCoreViewer.GetReportResult(this, report));
        }
Esempio n. 3
0
        public ActionResult GetReportITypedList()
        {
            StiReport report = new StiReport();

            report.Load(Server.MapPath("~/Content/Reports/BusinessObjects_ITypedList.mrt"));
            report.RegData("EmployeeITypedList", CreateBusinessObjectsITypedList.GetEmployees());
            CheckReference(report);

            return(StiMvcViewer.GetReportResult(report));
        }
Esempio n. 4
0
        public IActionResult GetReportITypedListBO()
        {
            var report = new StiReport();

            report.Load(StiNetCoreHelper.MapPath(this, "Reports/BusinessObjects_ITypedList_BO.mrt"));
            report.RegBusinessObject("EmployeeITypedList", CreateBusinessObjectsITypedList.GetEmployees());
            report.Dictionary.SynchronizeBusinessObjects(2);

            return(StiNetCoreViewer.GetReportResult(this, report));
        }
        public ActionResult GetReportITypedListBO()
        {
            var report = new StiReport();

            report.Load(Server.MapPath("~/Content/Reports/BusinessObjects_ITypedList_BO.mrt"));
            report.RegBusinessObject("EmployeeITypedList", CreateBusinessObjectsITypedList.GetEmployees());
            report.Dictionary.SynchronizeBusinessObjects(2);
            CheckReference(report);

            return(StiMvcViewer.GetReportResult(report));
        }