在rdlc报告中水平显示数据

时间:2013-11-04 09:04:22

标签: c# .net report rdlc

我正在使用带有c#的visual studio 2012,并希望将rdlc用于某些报告。我对报告有点熟悉,我可以在tablix或其他控件上显示我的数据。但现在我需要水平显示数据。 如果我使用tablix或列表数据垂直显示:

data1
------
data2
------
data3

但我不想他们这样表现出来:

data1 | data2 | data3

如果第一行是空的,则转到第二行,就像Tablix或列表那样。

提前致谢;

1 个答案:

答案 0 :(得分:6)

您需要适当地设置列组。

使用与上述相同的数据:

enter image description here

从矩阵开始:

enter image description here

删除行组列并从列组中删除任何分组。

看起来应该是这样的:

enter image description here

enter image description here

最终结果看起来像您的要求:

enter image description here