ActiveReports 15 .NET Edition
ActiveReports 15 User Guide / Samples and Walkthroughs / Samples / Samples / Data Binding / Page and RDL 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

    Report bound to CSV Data Source

     

    Sample Location

    Visual Basic.NET

    ..\Samples15\DataBinding\PageAndRDL\CSVDataSource\VB.NET

    C#

    ..\Samples15\DataBinding\PageAndRDL\CSVDataSource\C#

    Run-Time Features

    When you run this sample, the CSV DataSource 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.

    See Also