如何使用不同的模式将RDL转换为RDLC文件?

时间:2021-11-10 08:15:11

I'm using Sql Server Reporting Services (SSRS) 2008 to create RDL files, but also need to create a RDLC file. The problem is that SSRS 2008 uses a 2008 schema, while Visual Studio 2008 uses the 2005 schema.

我正在使用Sql Server Reporting Services(SSRS)2008来创建RDL文件,但还需要创建一个RDLC文件。问题是SSRS 2008使用2008架构,而Visual Studio 2008使用2005架构。

Is there a tool or work around for this solution?

这个解决方案是否有工具或解决方法?

Note: I'm not using tablix, so that should not be a problem.

注意:我没有使用tablix,所以这应该不是问题。

2 个解决方案

#1


I'm not aware of any tool or work around for this problem and given the amount of similar or related questions elsewhere (e.g. MSDN Forums) without any satisfactory answers I doubt something exist.

我不知道有任何工具或解决这个问题,并且考虑到其他地方(例如MSDN论坛)的相似或相关问题的数量而没有任何令人满意的答案我怀疑存在什么。

Of course you could always go ahead and write a XSL Transformation from the new 2008 schema to the old 2005 schema, but given the amount of changes and especially extensions this would still be a tedious task with quite some possible loss of information, even while completely ignoring tablix.

当然,您总是可以继续编写从新的2008架构到旧的2005架构的XSL转换,但是考虑到更改量和特别是扩展,这仍然是一项单调乏味的任务,即使在完全丢失信息的情况下也是如此。忽略tablix。

Depending on your requirements you might be able to sit this out until Visual Studio 2010 is released, which is supposed to feature updated ReportViewer controls with on par support for the new 2008 schema. Unfortunately this release has yet see the light though, at least they haven't made it in time for beta 1, see 'Where’s the new Report Viewer?'.

根据您的要求,您可以在Visual Studio 2010发布之前将其放在一边,这应该具有更新的ReportViewer控件,并且支持新的2008架构。不幸的是,这个版本还没有看到它的亮点,至少他们没有及时发布测试版1,请参阅“新的报表查看器在哪里?”。

#2


Visual Studio 2010 Beta 2 includes an updated local mode report viewer that can consume 2008-style RDLC files: http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

Visual Studio 2010 Beta 2包含一个更新的本地模式报表查看器,可以使用2008样式的RDLC文件:http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

I have not tried it and I'd be curious to know if the control works with VS 2008.

我没有尝试过,我很想知道控件是否适用于VS 2008。

#1


I'm not aware of any tool or work around for this problem and given the amount of similar or related questions elsewhere (e.g. MSDN Forums) without any satisfactory answers I doubt something exist.

我不知道有任何工具或解决这个问题,并且考虑到其他地方(例如MSDN论坛)的相似或相关问题的数量而没有任何令人满意的答案我怀疑存在什么。

Of course you could always go ahead and write a XSL Transformation from the new 2008 schema to the old 2005 schema, but given the amount of changes and especially extensions this would still be a tedious task with quite some possible loss of information, even while completely ignoring tablix.

当然,您总是可以继续编写从新的2008架构到旧的2005架构的XSL转换,但是考虑到更改量和特别是扩展,这仍然是一项单调乏味的任务,即使在完全丢失信息的情况下也是如此。忽略tablix。

Depending on your requirements you might be able to sit this out until Visual Studio 2010 is released, which is supposed to feature updated ReportViewer controls with on par support for the new 2008 schema. Unfortunately this release has yet see the light though, at least they haven't made it in time for beta 1, see 'Where’s the new Report Viewer?'.

根据您的要求,您可以在Visual Studio 2010发布之前将其放在一边,这应该具有更新的ReportViewer控件,并且支持新的2008架构。不幸的是,这个版本还没有看到它的亮点,至少他们没有及时发布测试版1,请参阅“新的报表查看器在哪里?”。

#2


Visual Studio 2010 Beta 2 includes an updated local mode report viewer that can consume 2008-style RDLC files: http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

Visual Studio 2010 Beta 2包含一个更新的本地模式报表查看器,可以使用2008样式的RDLC文件:http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

I have not tried it and I'd be curious to know if the control works with VS 2008.

我没有尝试过,我很想知道控件是否适用于VS 2008。