ActiveReports 11
CSV Data Source
ActiveReports 11 > ActiveReports User Guide > Samples and Walkthroughs > Samples > Page Reports And RDL Reports > Data > 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 11\Page Reports And RDL Reports
\Data\CSVDataSource\VB.NET

C#

<User Folder>\GrapeCity Samples\ActiveReports 11\Page Reports And RDL Reports
\Data\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

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

Concepts

Walkthroughs

Reference