Reputation: 1207
How to insert a report I already prepared into a view? I'm working on a .net mvc web application. What code shoud I add to the .cshtml file?
Upvotes: 1
Views: 521
Reputation: 18257
You cannot add a ReportView to your cshtml to create reports, that's because it's a component for web forms. The most that you can do, it's add a folder in your mvc project and Create a Web Form to this folder, and add the report Viewer to this WebForm.
Upvotes: 2