ReportingServices提供WebService接口,基本上所有报表的操作都可以利用它们完成,以下在代码演示如何使用它们进行报表的导出、报表的订阅等。其中报表订阅中的邮件订阅未经过实际测试,其它代码都经过测试,没有发现什么问题。当然方法只是给出个原理,没有什么真正实用价值,有兴趣的人可以根据自己的需求对接口进行包装。

在动手写代码之前,你要添加对此WebService的引用,如图:
Reporting Services系列五:WebService接口
//
Reporting Services系列五:WebService接口

代码如下:

 

    }

测试代码:

Reporting Services系列五:WebService接口
Reporting Services系列五:WebService接口        
private void btExp_Click(object sender, System.EventArgs e)

 

相关文章:

  • 2021-08-24
  • 2021-08-24
  • 2021-06-06
  • 2021-08-08
  • 2021-07-10
猜你喜欢
  • 2021-08-01
  • 2021-12-02
  • 2021-09-01
  • 2021-08-26
  • 2021-10-01
相关资源
相似解决方案