Issues Setting RDLC Datasource to Object
Set your objects under the same namespace but on a different project which you then reference on your UI project.
Also try implementing INotifyPropertyChanged
.
- Make sure the classes are in the same namespace as the application.
- Try building the application before you create the report
- Start the report wizard. Under DataSouce select the name of your web application.
- Under Available Datasets you should see what Visual Studio interprets to be your "Select Method". If all is well, this should be TurnArounds.
You may need to put the class file in the App_Data or App_Code folder, but I am not certain.
This might also help.
http://msdn.microsoft.com/en-us/library/ms251692%28v=vs.100%29.aspx
Visual Studio does not recognize your class when you use only public members. When you use getter and setter instead, you can see your class when you choose your datasource.
There are some other wizards in Visual Studio that do not work with public members.
Cheers, Markus