Ejemplo 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();
        }
Ejemplo 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));
        }
Ejemplo 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));
        }
Ejemplo 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));
        }