[]
This quick start topic guides you through a step-by-step process of creating a simple application for loading a SSRS report in the FlexViewer control. It uses a SSRS report named AdventureWorks, from the ComponentOne report server.
The following image shows a SSRS report opened in FlexViewer.

Create a new WPF application.
Drag and drop C1FlexViewer control in the XAML view.
Add Loaded="Window_Loaded" to the <Window> tag in XAML view to create the Windows_Loaded event.
Switch to the code view and add the following code to initialize the variables to be used as parameters for NetWorkCredential Property.
Shared ReadOnly
ssrsUrl As String = "http:// server url",
ssrsUserName As String = "*",
ssrsPassword As String = "*",
ssrsDomain As String = String.Emptystatic readonly string
ssrsUrl = "http:// server url",
ssrsUserName = "*",
ssrsPassword = "*",
ssrsDomain = string.Empty;Add the following code in the Windows_Loaded event to provide the location of the report on the server using DocumentLocation and set the credentials using Credential property:
Dim ssrsDocSource As New C1SSRSDocumentSource()
ssrsDocSource.DocumentLocation = New SSRSReportLocation(ssrsUrl,
"AdventureWorks/Sales Order Detail")
ssrsDocSource.Credential = New NetworkCredential(ssrsUserName,
ssrsPassword, ssrsDomain)C1SSRSDocumentSource ssrsDocSource = new C1SSRSDocumentSource();
ssrsDocSource.DocumentLocation = new SSRSReportLocation(ssrsUrl,
"AdventureWorks/Sales Order Detail");
ssrsDocSource.Credential = new NetworkCredential(ssrsUserName,
ssrsPassword, ssrsDomain);Render the SSRS report in the FlexViewer control using DocumentSource property.
viewer.DocumentSource = ssrsDocSourceviewer.DocumentSource = ssrsDocSource;Press Ctrl+Shift+B to build the project.
Press F5 to run the application.