报表控件FineReport中报表如何嵌入到.net系统

 时间:2026-02-15 08:39:59

1、情形一:报表整体嵌入在.net系统框架中

如下图,点击左侧报表节点,将报表整体显示在.net系统的MainFrame主框架中:

报表控件FineReport中报表如何嵌入到.net系统

2、图中“地区销售表”对应一个超级链接元素<a>,我们只需要设置其href为报表路径,目标打开位置target为框架名称MainFrame即可:

<a href="http://localhost:8080/WebReport/ReportServer?reportlet=GettingStarted.cpt" target="MainFrame">地区销售表</a>

另外还可以给报表传递动态参数值,类似如下:

<a href="http://localhost:8080/WebReport/ReportServer?reportlet=GettingStarted.cpt&参数名=<%=参数值%>" target="MainFrame">地区销售表</a>

3、情形二:报表嵌入在.net系统的某个页面中

若上图中间区域主框架中嵌入的是某个.net页面,如xxx.asp,在该页面中再嵌入报表。此时在该asp页面body中通过iframe来嵌入报表:

<iframe id="reportFrame" src="http://localhost:8080/WebReport/ReportServer?reportlet=GettingStarted.cpt" width = "100%" height = "500px"></iframe>

  • DBeaver客户端怎么建立Oracle数据库连接
  • 图形报表软件FineReport中的数据间如何进行比较
  • oracle使用expdp遭遇ORA-3900139000 39142
  • 如何导出ORACLE指定存储过程
  • DbVisualizer连接DB2数据配置
  • 热门搜索
    q币是什么 一件代发是什么意思 手脚出汗是什么原因 点映什么意思 ceo是什么 释义是什么意思 round是什么意思 jc是什么意思 梅开二度是什么意思 预付款是什么意思