Maybe this is very simple, but I just can t get it to work. Here s the thing:
- I created a XSD schema and then drag and drop the table from my DataSource (SQL Server).
- Now I can work in report designer, since I set the data source to the .xsd file, so I drag and drop fields onto the report surface. Everything fine.
- I then have the controller which has an action that opens the razor view with report.
So far so good. In action, I just created the instance of one item from the database, and am setting that as a data source for the report, but when I show the view it never binds it. Nothing in the report, just labels and headers. I simply want to be able to pass an object of the type that I created and when I set the report source to be able to see data. I don t want any parameters and filtering.
谢谢