combit List & Label 25 - .NET Online Web Help
CsvDataProvider Constructor(String,Boolean,String,Char,Int32,Boolean)


combit.ListLabel25.DataProviders Namespace > CsvDataProvider Class > CsvDataProvider Constructor : CsvDataProvider Constructor(String,Boolean,String,Char,Int32,Boolean)
File name of the input file.
First line should be used as header (i.e. the contents are used as column names).
Name of the resulting table in the Designer.
Separator character.
Number of lines to be skipped initially.
Counting (i.e. progress) should be supported.
Initializes the DataProvider to accessthe data from a CSV file.
Syntax
'Declaration
 
Public Function New( _
   ByVal fileName As String, _
   ByVal firstLineIsHeader As Boolean, _
   ByVal tableName As String, _
   ByVal separator As Char, _
   ByVal linesToSkip As Integer, _
   ByVal supportsCount As Boolean _
)

Parameters

fileName
File name of the input file.
firstLineIsHeader
First line should be used as header (i.e. the contents are used as column names).
tableName
Name of the resulting table in the Designer.
separator
Separator character.
linesToSkip
Number of lines to be skipped initially.
supportsCount
Counting (i.e. progress) should be supported.
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

CsvDataProvider Class
CsvDataProvider Members
Overload List