ActiveReports 18 .NET Edition
Samples / Samples / Data Binding / Page and RDLX Reports / CSV Data Source
In This Topic
    CSV Data Source
    In This Topic

    The CSV Data Source sample demonstrates how to use the CSV data provider in a Page Report.

    Report bound to CSV Data Source

     

    Sample Location

    Visual Basic.NET

    https://github.com/activereports/Samples18/tree/main/DataBinding/PageAndRDLX/CSVDataSource/VB.NET

    C#

    https://github.com/activereports/Samples18/tree/main/DataBinding/PageAndRDLX/CSVDataSource/C#

    Run-Time Features

    When you run this sample, the CSV Data Source window appears. Select a radio button to specify the data format of the CSV file to use for the data source, and click the Run button to show the report in the viewer. You can choose from the following CSV data formats: 

    Project Details

    MainForm

    This is the main form that appears when you run this sample. It uses the ActiveReports Viewer control to display the report at run time, and radio buttons to select the data source settings.

    Right-click the form and select View Code to see how to set the data source settings in the connection string, and how to show the report at run time.

    StockList.rdlx

    This is the report that gets displayed in the Viewer at run time. The report is bound to the StockList dataset of the CSV data provider and uses a Table data region and TextBox controls to display the stock list. The stock list is grouped by CustomerID value.