如何在 SSRS 2008 中创建自定义渲染扩展
请让我知道如何在 SSRS 2008 中创建自定义渲染扩展。我已在 SSRS 2005 中创建了它,但是当我尝试在 SQL Server 2008 中使用相同的代码时,它不起作用。IRenderingExtension
接口似乎与 2008 不兼容。
它给出了以下编译错误:
“Renderer”类必须实现“Function Render(report As Report, 报告服务器参数为 System.Collections.Specialized.NameValueCollection,deviceInfo As System.Collections.Specialized.NameValueCollection、clientCapability 作为 System.Collections.Specialized.NameValueCollection、ByRef renderProperties 作为 System.Collections.Hashtable, createAndRegisterStream As Interfaces.CreateAndRegisterStream) As 接口的布尔值 'Microsoft.ReportingServices.OnDemandReportRendering.IRenderingExtension'。
请帮忙............
Please let me know that how can I create a custom render extension in SSRS 2008. I have created it in SSRS 2005, but when I try using the same code in SQL Server 2008, it does not work.
The IRenderingExtension
interface does not seem to be compatible with 2008.
It gives the following compilation error:
Class 'Renderer' must implement 'Function Render(report As Report,
reportServerParameters As
System.Collections.Specialized.NameValueCollection, deviceInfo As
System.Collections.Specialized.NameValueCollection, clientCapabilities
As System.Collections.Specialized.NameValueCollection, ByRef
renderProperties As System.Collections.Hashtable,
createAndRegisterStream As Interfaces.CreateAndRegisterStream) As
Boolean' for interface
'Microsoft.ReportingServices.OnDemandReportRendering.IRenderingExtension'.
Please help..........
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IRenderingExtension
的命名空间已从Microsoft.ReportingServices.ReportRendering
(2005) 更改到
2008 年的
Microsoft.ReportingServices.OnDemandReportRendering
。The name space for
IRenderingExtension
has changed fromMicrosoft.ReportingServices.ReportRendering
(2005)to
Microsoft.ReportingServices.OnDemandReportRendering
in 2008.