Class RVCsvDataSourceItem

The data source item used to represent a dataset from a CSV file, it includes optional settings like the separator to use when parsing the data.

Inheritance
System.Object
RVCsvDataSourceItem
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public class RVCsvDataSourceItem : RVResourceBasedDataSourceItem

Constructors

RVCsvDataSourceItem(IRVResourceItem)

Creates a new CSV item getting data from the specified resource item.

Declaration
public RVCsvDataSourceItem(IRVResourceItem resourceItem)
Parameters
Type Name Description
IRVResourceItem resourceItem

The resource item to download the file from.

Properties

DateFormat

Optional date format to use when parsing/detecting date columns, if not specified Reveal will try to infer the date format to use for each column (if it detects the column is a date, date time or time column).

Declaration
public string DateFormat { get; set; }
Property Value
Type Description
System.String

Encoding

The encoding to use, if not specified Reveal will try to detect it automatically.

Declaration
public string Encoding { get; set; }
Property Value
Type Description
System.String

Separator

The separator to use, one of ',', ';', or 'TAB'. If not specified it will be detected automatically.

Declaration
public string Separator { get; set; }
Property Value
Type Description
System.String