Export (0) Print
Expand All

Sample: Using an RSS Feed in ReportViewer

Download sample

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The RSSNewsReader sample is a Windows form application that retrieves data from live news feeds and presents that data in a report. The report demonstrates how to use parameters to filter the dataset.

This sample is available in Visual C#. To copy all of the sample files to your computer, click the Download sample link at the top of the page. To view a single file, select the file name and click the View button. Not all of the sample files can be viewed directly from this page. Sample files that are located in folders do not appear in the list. For more information about other samples and developer walkthroughs, see Samples and Walkthroughs.

To run the sample

  1. Open RSSNewsReader.sln in Visual Studio.

  2. Press F5 to compile and run the sample.

  3. In the report, select a news reader and then click Load.

Requirements

You must have an Internet connection to run this sample.

Demonstrates

  1. Creation of client report definition (.rdlc) files that include parameters.

  2. Creation of a ReportViewer control that runs reports from within a Windows form.

  3. Use of the ReportRefresh method and LocalReport property of the ReportViewer class.

  4. Use of the SetParameters method of the LocalReport class.

  5. Use of the ReportParameter class.

Show:
© 2014 Microsoft