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


combit.ListLabel24.DataProviders Namespace > CsvDataProvider Class > CsvDataProvider Constructor : CsvDataProvider Constructor(String,Boolean,String,Char,Int32)
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.
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 _
)

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.
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

CsvDataProvider Class
CsvDataProvider Members
Overload List