I have a class which is used as a object for my reportviewer control in C#. The Datatable in that class is used by the control to show a table.
I have two issues.
1 How to create a varibale in that class that can be accessed by the reportviewer? The purpose is to send some calculated results to report. I created a property (get ,set) but it shows some stack overflow in class constructer. How to do that?
2.I tried to create another table in the class but all the colums I load in one table appears in next also.