Using Microsoft.Reporting.WebForms.ReportViewer in a custom SharePoint WebPart
- by iHeartDucks
I have a requirement where I have to display some data (from a custom db) and let the user export it to an excel file.
I decided to use the ReportViewer control present in Microsoft.Reporting.WebForms.ReportViewer. I added the required assembly to the project references and I add the following code to test it out
protected override void…