Nevron Open Vision Documentation
Nevron.Nov.Text.Data Namespace / NExcelDataSourceFormat Class / GenerateConnectionString Method
The full name of the Excel file.
Specifies whether the first row of data contains the column names.


In This Topic
    GenerateConnectionString Method (NExcelDataSourceFormat)
    In This Topic
    Generates a connection string that should be used to connect to the given Excel database.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GenerateConnectionString( _
       ByVal fileName As System.String, _
       ByVal headerRow As System.Boolean _
    ) As System.String
    'Usage
     
    
    Dim instance As NExcelDataSourceFormat
    Dim fileName As System.String
    Dim headerRow As System.Boolean
    Dim value As System.String
     
    value = instance.GenerateConnectionString(fileName, headerRow)
    protected virtual System.string GenerateConnectionString( 
       System.string fileName,
       System.bool headerRow
    )

    Parameters

    fileName
    The full name of the Excel file.
    headerRow
    Specifies whether the first row of data contains the column names.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also