Add an assembly for Reporting Services

Source: Internet
Author: User

 在 vs 进行预览时需将dll文件放到vs的安装目录 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies.

如果 部署前需将dll文件放到sql server 的安装目录  C:\Program Files\Microsoft SQL Server\MSSQL.X\Reporting Services\ReportServer\bin. 
1、向reporting services添加程序集

    a)  报表->报表属性->引用->击添加按钮 (...),添加所需程序集

    b)  在”类“中键入类名(如:命名空间.类名),键入实例名

    c)  调用Code.实例名.方法...,(在方法名下有红色曲线,不用管直接预览)

注意:  
       在报表设计器中,除非您关闭 Visual Studio,否则一旦加载自定义程序集,就不会卸载该程序集。
       如果预览报表后对报表所用的自定义程序集进行更改,然后再次预览该报表,则第二次预览结果中不会体现所做的更改。
      若要重新加载程序集,请关闭 Visual Studio,再将其重新打开,然后预览报表

Reporting services 添加程序集

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.