Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone, I've a report and I need to group that report according to parameters that I'm gonna pass it from my code. need help for my project !

for exp,

[Purchase] [Supplier]
[Group]
[c1]
[c2]

[Purchase] [Supplier]
[Group]
[c1]
[c2]


in that report, [Group] parameter is the variable that I wanna group my rdlc.
I need to pass parameters according to user's desire..

where i can change to pass parameters and group ??

thanks a lot !
Doyle Raymond
Posted

1 solution

The simplest way to implement grouping is by using CollectionViewSource[^] class. For more info on how to group your collection please refer to GroupDescriptions[^] property. The link also has an example of how it is done.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900