簡體   English   中英

在報表查看器的行中顯示唯一數據

[英]Showing unique data in the rows of report viewer

首先,請原諒我的英語,我想使用報表查看器asp.net 2010顯示報表,將數據綁定到報表查看器並顯示效果很好的報表數據,但是在組中隱藏重復數據不起作用,並且我確實右鍵單擊了文本box&F4 set隱藏具有組名的重復項。僅隱藏具有連續重復行數據的項

 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.

我建議您從查詢中進行優化,而不是在報表查看器中進行嘗試。 考慮查詢時,您可以使用“ GROUP BY”而不是“ DISTINCT”來刪除重復項。 希望這可以幫助。

我最近不得不做這件事。 rdlc具有稱為行組的名稱。 我相信這就是您想要做的。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM