Class CsvConnectionStringBuilder
Represents the CsvDataConnection connection string builder.
Inheritance
System.Object
CsvConnectionStringBuilder
Namespace: FastReport.Data
Assembly: FastReport.OpenSource.dll
Syntax
public class CsvConnectionStringBuilder : DbConnectionStringBuilder
Remarks
Use this class to parse connection string returned by the CsvDataConnection class.
Constructors
CsvConnectionStringBuilder()
Initializes a new instance of the CsvConnectionStringBuilder class.
Declaration
public CsvConnectionStringBuilder()
CsvConnectionStringBuilder(String)
Initializes a new instance of the CsvConnectionStringBuilder class with a specified connection string.
Declaration
public CsvConnectionStringBuilder(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
Properties
Codepage
Gets or sets the codepage of .csv file.
Declaration
public string Codepage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConvertFieldTypes
Gets or sets the value indicating that field types should be converted.
Declaration
public string ConvertFieldTypes { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CsvFile
Gets or sets the path to .csv file.
Declaration
public string CsvFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FieldNamesInFirstString
Gets or sets the value indicating that field names should be loaded from the first string of the file.
Declaration
public string FieldNamesInFirstString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoveQuotationMarks
Gets or sets the value indicating that quotation marks should be removed.
Declaration
public string RemoveQuotationMarks { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Separator
Gets or sets the separator.
Declaration
public string Separator { get; set; }
Property Value
Type | Description |
---|---|
System.String |