问题描述
是否可以使用 Visual Studio 2008 编辑来自 Reporting Services 2008 的本地报告 (RDLC)?现在它说未找到 Report 元素(这是由于不同的架构).
Is there way to edit local reports (RDLC) from Reporting Services 2008 with Visual Studio 2008? Now it says that Report element was not found (this is due different schemas).
对我来说,这个问题很实际,因为我希望让我的客户能够使用 Report Builder 2.0 设计或自定义报告.
For me this question is actual, because I want provide my customer with ability to design or customize reports with Report Builder 2.0.
推荐答案
本地报表 (RDLC) 由 ReportViewer 控件呈现,该控件是一个 VS 2008 组件,与我们的无 SSRS (2008) 一起存在.
Local reports (RDLC) are rendered by the ReportViewer control, which is a VS 2008 component and is present with our without SSRS (2008).
因此,如果您问 VS 2008 是否可以生成在 VS 2008 ReportViewer 控件中本地呈现的报告 (RDLC),答案是肯定的(但它使用 2005 架构).
So, if you are asking if VS 2008 can produce reports (RDLC) that render locally in the VS 2008 ReportViewer control, the answer is yes (but it uses the 2005 schema).
如果您问 SSRS 报告编辑器是否可以创建在 VS 2008 ReportViewer 控件中呈现的 RDL(例如,通过将它们重命名为 RLDC,VS 2005 和 SSRS 2005 的工作方式),答案是否定的(因为他们使用 2008 架构).
If you are asking if the SSRS Report Editor can create RDLs that render in the VS 2008 ReportViewer control (for instance by renaming them to RLDC, the way in worked with VS 2005 and SSRS 2005), the answer is no (because they use the 2008 schema).
区别 - 例如,如果向 Web 项目添加新报表,则使用 VS 报表设计器,它将创建在 2008 控件中呈现的 2005 RDLC 架构.
The difference - if you add a new report to a web project, for instance, you are using the VS report designer and it will create a 2005 RDLC schema that renders in the 2008 control.
如果您向 ReportServer 项目添加新报表,则您使用的 SSRS 报表设计器将创建不兼容的 2008 RDL 架构.
If you add a new report to a ReportServer project, you are using the SSRS report designer that will create a 2008 RDL schema that is not compatible.
这篇关于Visual Studio 2008 是否可以为 SQL Reporting Services 2008 生成/编辑本地报告 (RDLC)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!