doremi 发表于 2022-2-18 19:16:49

ActiveReports14 区域报表sectionReport 如何能让另外一个web工程使用

ActiveReports14 用winform的工程做了一个区域报表sectionReport基于代码,这个报表如何能让另外一个web工程使用呢,可以用jsviewer调用到吗,我看例子程序都是调用rdlx文件的,求各位帮助一下

Bella.Yuan 发表于 2022-2-18 19:16:50

您好,Startup.cs在mvc工程确实只有一个,但是您可以在方法里面编写您的逻辑判断,例如:在GetReport方法里面根据参数的不同去进行处理,sectionReport(BaseCode),我们的API没有这个方法,不过您可以自己尝试一下编写个自定义方法进行使用。

Bella.Yuan 发表于 2022-2-21 15:10:31

您好,可以参考一下下面这个链接:
https://www.grapecity.com/activereportsnet/docs/versions/v14/online/previewing-reports-in-jsviewer.html

doremi 发表于 2022-2-23 16:35:04

Bella.Yuan 发表于 2022-2-21 15:10
您好,可以参考一下下面这个链接:
https://www.grapecity.com/activereportsnet/docs/versions/v14/onlin ...

好的,多谢,先看看

Bella.Yuan 发表于 2022-2-23 16:37:04

doremi 发表于 2022-2-23 16:35
好的,多谢,先看看

:mj72:

doremi 发表于 2022-2-23 16:51:34

Bella.Yuan 发表于 2022-2-23 16:37


参考链接提到Startup.cs这个类, 这个是不是在一个mvc工程中只能有一个, 我们有多个画面都会生成报表, 该如何处理呢? 还有就是这种方法可以调用sectionReport(BaseCode)中的函数吗

doremi 发表于 2022-2-23 16:53:24

Bella.Yuan 发表于 2022-2-21 15:10
您好,可以参考一下下面这个链接:
https://www.grapecity.com/activereportsnet/docs/versions/v14/onlin ...



doremi
注册会员   /发表于:刚刚5#
Bella.Yuan 发表于 2022-2-23 16:37

参考链接提到Startup.cs这个类, 这个是不是在一个mvc工程中只能有一个, 我们有多个画面都会生成报表, 该如何处理呢? 还有就是这种方法可以调用sectionReport(BaseCode)中的函数吗

doremi 发表于 2022-2-23 18:41:24

Bella.Yuan 发表于 2022-2-23 17:43
您好,Startup.cs在mvc工程确实只有一个,但是您可以在方法里面编写您的逻辑判断,例如:在GetReport方法里 ...

好的,多谢回答, 再研究研究

Bella.Yuan 发表于 2022-2-24 08:45:50

doremi 发表于 2022-2-23 18:41
好的,多谢回答, 再研究研究

不客气:mj72:
页: [1]
查看完整版本: ActiveReports14 区域报表sectionReport 如何能让另外一个web工程使用