With the C1Studio installer, you get FlexReport samples that help you understand the implementation of the product. The C# and VB samples are available at the default installation folder - \Documents\ComponentOneSamples\Winforms\C1FlexReport.
The list of available C# samples is as follows:
Sample | Description |
AddScriptObject | This sample demonstrates how to add custom objects to C1FlexReport's script engine. |
AdHocSorting | This sample demonstrates how to select the sorting criteria before rendering the report. |
CustomFields | This sample demonstrates how to load all CustomFields in C1FlexReport. |
ExternalDataSource | This sample demostrates how to implement the IC1FlexReportRecordset and IC1FlexReportExternalRecordset interfaces. These interfaces allow an assembly to be used as a custom record source for C1FlexReport. |
FlexCommonTasks | This sample demonstrates how to use parameters, charts, subreports, and many other features in FlexReport. It uses FlexCommonTasks.flxr file. |
FlexReport Explorer | This sample loads a categorized list of reports, with categories such as enterprise, financial, medical and so on. Some reports demonstrate specific features of FlexReport, such as conditional formatting or watermarks, while others combine various features to produce reports that might be used in different real-life applications. |
FlexReportViewer | This sample demonstrates various features of FlexViewer. |
MapReports | The sample renders and previews several sample reports demonstrating the Map custom field. |
ODataRecordset | This sample demonstrates how to use data provided by the OData service in the C1FlexReport. |
PdfViewer | This sample shows how the C1PdfDocumentSource component can be used with C1FlexViewer to view PDF document. |
SsrsViewer | This sample demonstrates how C1SSRSDocumentSource component can be used with C1FlexViewer to browse the reports tree available on a SSRS server, and to preview individual reports. |
SubReportDataSource | This sample demonstrates how to use custom data sources with subreports in the C1FlexReport component. |
Xml2FlxrConverter | This sample allows the user to select one or more .XML files containing C1Report report definitions, and to convert them to the new FlexReport's .FLXR file format. |
ZipReport | This sample demonstrates how to compress and encrypt report definition files using the C1FlexReport and C1Zip components. |
The list of available VB samples is as follows:
Sample | Description |
ExternalDataSource | This sample demonstrates how to implement the IC1FlexReportRecordset and IC1FlexReportExternalRecordset interfaces. These interfaces allow an assembly to be used as a custom record source for C1FlexReport. |
FlexCommonTasks | This sample demonstrates how to use parameters, charts, subreports, and many other features in FlexReport. It uses FlexCommonTasks.flxr file. |
FlexReport Explorer | This sample loads a categorized list of reports, with categories such as enterprise, financial, medical and so on. Some reports demonstrate specific features of FlexReport, such as conditional formatting or watermarks, while others combine various features to produce reports that might be used in different real-life applications. |
FlexReportViewer | This sample demonstrates various features of FlexViewer. |
SsrsViewer | This sample demonstrates how C1SSRSDocumentSource component can be used with C1FlexViewer to browse the reports tree available on a SSRS server, and to preview individual reports. |