ActiveReports 13
CSV Data Source
ActiveReports 13 > ActiveReports User Guide > Samples and Walkthroughs > Samples > Data Binding > Page and RDL Reports > CSV Data Source

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

Sample Location

Visual Basic.NET

<User Folder>\GrapeCity Samples\ActiveReports 13\DataBinding\PageAndRDL\CSVDataSource\VB.NET


<User Folder>\GrapeCity Samples\ActiveReports 13\DataBinding\PageAndRDL\CSVDataDataSource\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


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.


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