Click or drag to resize

CsvDataSource Properties

The CsvDataSource type exposes the following members.

Properties
  NameDescription
Public propertyDataTable
Gets a DataTable object which represents the current imported data
(Inherited from DataSource.)
Public propertyFileName
Gets or sets the File name which to import the data. If HasHeader is set to , the first row of CSV is considered as headers
Public propertyHasHeader
Gets or sets a value indicating whether the data source has header.
(Inherited from DataSource.)
Public propertyHeaders
Gets or Sets the headers. if the file data source contains header (for example, The first row of a CSV the headers), headers will be refilled after the call of ImportData. The headers can be used as an variable. For example, the token ${name} will be replace by the value where the header name is "name"
(Inherited from DataSource.)
Public propertyMaxRows
Gets or sets the maximum rows can be imported
(Inherited from DataSource.)
Public propertySeparator
Gets or sets the separator of the CSV file, the default separator depends on your localization settings. For example, for US based culture
Top
See Also