0

首先请原谅我的英语,我想使用报表查看器 asp.net 2010 显示报表,将数据绑定到报表查看器并显示报表数据效果很好,但是在组中隐藏重复数据不起作用,我确实右键单击文本box & F4 设置用组名隐藏重复项。它只会隐藏连续重复的行数据

 for example 
    Data in the column is 
    <br />Employee
    <br />Employee
    <br />Employee
    <br />Employee
    means it'll show only one time. if it is like 
    <br />Employee
    <br />Department
    <br />College
    <br />Employee
    <br />Department
    <br />College
    means it'll display same format as above.
    & here also i need get unique data in the group.
<br>
Why am asking this means i can't apply distinct in query because it is Many to many relationship query, for that i need to get uniqueness in report only please help me thanks in advance.
4

2 回答 2

1

我最近不得不做这件事。rdlc 有一个叫做行组的东西。我相信这就是你想要做的。

于 2012-07-19T16:58:16.227 回答
0

我建议您从查询中进行优化,而不是在报表查看器中尝试。当我们考虑查询时,您可以使用“GROUP BY”而不是“DISTINCT”删除重复项。希望这可以帮助。

于 2012-04-26T09:35:27.543 回答