Hi,
We are developing a report where one column heading should change dynamically based on the data in a meta table. Let me explain the problem with a simple example.
Let us assume asp.net page has simple filter compnay. values comp1, comp2, comp. When the user click the "get report" button it will displays all the employees in that company.
Meta table will have data as below.
Compnay Desc
--------------------------------
comp Application Developer
comp1 Programmer Analyst
comp2 System Engineer.
Now if user selects comp from the asp.net page output should be as below.
Application Developer
---------------------
employee1
empolyee2
employee3
If user selects comp1, output is
Programmer Analyst
---------------------
employee1
empolyee2
employee3
If user selects comp2, output is
System Engineer
---------------------
employee1
empolyee2
employee3
You could clearly see that in all the cases we give only list of employees. ONly difference is column heading should be different based on user selection and should be maintained in a database table.
any help is highly appreciated.
Thanks
Ravi
We are developing a report where one column heading should change dynamically based on the data in a meta table. Let me explain the problem with a simple example.
Let us assume asp.net page has simple filter compnay. values comp1, comp2, comp. When the user click the "get report" button it will displays all the employees in that company.
Meta table will have data as below.
Compnay Desc
--------------------------------
comp Application Developer
comp1 Programmer Analyst
comp2 System Engineer.
Now if user selects comp from the asp.net page output should be as below.
Application Developer
---------------------
employee1
empolyee2
employee3
If user selects comp1, output is
Programmer Analyst
---------------------
employee1
empolyee2
employee3
If user selects comp2, output is
System Engineer
---------------------
employee1
empolyee2
employee3
You could clearly see that in all the cases we give only list of employees. ONly difference is column heading should be different based on user selection and should be maintained in a database table.
any help is highly appreciated.
Thanks
Ravi