TFORMer SDK - NET  7.5
DataSourceCsv

Overview

DataSourceCsv is a specialized DataSource for importing data from CSV files. This class is used to manipulate existing DataSourceCsv objects. To create a new DataSource use TFORMer Designer or Project.AddDataSource.

The main properties to characterize a DataSourceCsv are:

Modifying an Existing CSV-DataSource

// Retrieve the global Project
// DataSources are defined in a Project or a global Project
Project project = repository.GlobalProject;
// Retrieve the DataSource by name
// Since we know the type of the DataSource, we can cast it to DataSourceCsv
DataSourceCsv dataSource = (DataSourceCsv)project.GetDataSource("CSV");
// Modify some DataSource properties
dataSource.Qualifier = "'";
dataSource.Separator = ",";

© 2006-2017 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Fri Nov 3 2017 07:59:03 for TFORMer SDK - NET with doxygen 1.8.9.1