2015 - Reportviewer

Install-Package Microsoft.ReportViewer.WinForms -Version 12.0.0 Or for Web:

<dependentAssembly> <assemblyIdentity name="Microsoft.ReportViewer.Common" publicKeyToken="89845dcd8080cc91" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.ReportViewer.WinForms" publicKeyToken="89845dcd8080cc91" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> </dependentAssembly> Here is a minimal WinForms example that loads an RDLC file and renders it to PDF without showing the UI. reportviewer 2015

If you are stuck migrating from ReportViewer 2010 or 2012, the 2015 version is your safest upgrade path. Install-Package Microsoft

var report = new LocalReport(); report.ReportPath = reportPath; report.DataSources.Add(new ReportDataSource("DataSet1", data)); report.ReportPath = reportPath

Rechercher
Articles
Tests
Jeux
Pages
Films/Séries