https://github.com/apps72/dev.ssrs
Windows and tools to display SQL Server Reporting Services Reports (WPF)
https://github.com/apps72/dev.ssrs
Last synced: about 1 month ago
JSON representation
Windows and tools to display SQL Server Reporting Services Reports (WPF)
- Host: GitHub
- URL: https://github.com/apps72/dev.ssrs
- Owner: Apps72
- Created: 2016-07-12T14:45:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T11:54:04.000Z (almost 9 years ago)
- Last Synced: 2025-03-12T04:48:57.697Z (over 1 year ago)
- Language: C#
- Size: 5.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# SQL Server Reporting Services - Report Viewer
## Introduction
This C# library is a standalone WPF library helping developers to display, save and print,
local or remote SQL Server Reports (including Microsoft ReportViewer libraries v12).
## Samples
### How to save and display a remote report.
```csharp
ReportWindow report = new ReportWindow(new Uri("http://localhost/ReportServer"), "/MyDocument/MyReport");
report.Save("C:\\MyReport.pdf", ReportSaveFormat.Pdf);
report.ShowDialog();
```
### How to save and display a local Report.
```csharp
ReportWindow report = new ReportWindow("C:\\MyDefinition.rdlc", "DataSet1", data);
report.Save("C:\\MyReport.pdf", ReportSaveFormat.Pdf);
report.ShowDialog();
```
### How to display a local report, using multiple data sets.
```csharp
ReportWindow report = new ReportWindow();
report.ReportFileName = "C:\\MyReport.rdlc";
report.ReportDataSources = new ReportDataSource[1];
report.ReportDataSources[0] = new ReportDataSource();
report.ReportDataSources[0].Name = "DataSet1";
report.ReportDataSources[0].Value = data.ToArray();
report.ShowDialog();
```
## Change Logs
1.3 - Add **Duplex** and **IsColored** argument to print Recto/Verso and in color.
1.2 - Include **Print** and **Save** command for remote reports.
1.1 - All basic features.