zoukankan      html  css  js  c++  java
  • js 中调用reportseivice实现查询

    注意 ReportServer 后边的那个问号
    我这是用了一个 iframe 的...所以  window.frames[0]
    因为这个 iframe 是用 它当中那个控件自动生成的...他是没有 id 的...

    function search_data()
             {
           
               window.frames[0].location.href="http://gw/ReportServer?/demo/CapacityFeeLtfee_Monthly_Fx&ReportObjectType=1&ReportObjectIDs=0&BeginMonth=200302&EndMonth=200308&rc:Parameters=false&rs:Command=Render";
               
             }


     控件在:

    Reporting Services 非常方便地附带了名为 ReportViewer 的示例(安装到 \Reporting Services\Samples\Applications\ReportViewer 目录),它可以实现这个想法。该控件封装了 IFRAME 和 URL 访问参数逻辑,并提供了一个更简单的用于将报表嵌入到应用程序中的方法。要使用该控件,请打开并构建 ReportViewer 解决方案,然后通过浏览到 ReportViewer 解决方案的 bin 目录中的 ReportViewer.dll,切换到您的 Web 应用程序并将该控件添加到工具箱中。
    您可以使用该控件将嵌入报表添加到仪表板应用程序中



  • 相关阅读:
    ps使logo背景色透明
    ps切图的基本操作
    json
    py3中reduce
    列表去重的多种方法
    python之小数据池
    基于中间件访问频率限制 每分钟时间间隔最多访问3次
    三种实现登录验证的方式
    时间复杂度
    importlib
  • 原文地址:https://www.cnblogs.com/gwazy/p/174455.html
Copyright © 2011-2022 走看看