I am working on a project of RDLC report in which I have took tablix and bind the table's columns with dataset that I have added in my RDLC report.
Everything is working fine, but the interesting thing is my reports are customizable.
Let's suppose we take the example of Student report.
For Student report we have 4 columns like: RollNo, FName, LName, Class.
For Student report we have the dataset dsStudent.
My reports will look like:
RollNo FName LName Class
1 A B I
2 C D II
3 E F III
The above is absolutely good, but as I said my reports are customizable means the user can change the order of columns.
He can choose the order of columns like: FName, LName, Class, RollNo
So my Report will look like:
FName LName Class RollNo
A B I 1
C D II 2
E F III 3
That's where I am stuck, I am unable to show my report's columns dynamically as I have already fixed the column's order by binding with the dataset dsStudent.
Please help me out. Thanks in advance.