C# Class Rolcore.Data.ConnectionStringTemplates

Handy templates for ADO.NET connection strings.
Datei anzeigen Open project: Rollins/Rolcore

Public Methods

Method Description
CreateCsvFileConnectionString ( string filePath ) : string

Creates a connection string to a comma separated value (CSV) file.

CreateExcel12FileConnectionString ( string filePath ) : string

Creates a connection string to an Excel (version 8) file.

CreateExcel8FileConnectionString ( string filePath ) : string

Creates a connection string to an Excel (version 8) file.

Method Details

CreateCsvFileConnectionString() public static method

Creates a connection string to a comma separated value (CSV) file.
public static CreateCsvFileConnectionString ( string filePath ) : string
filePath string Specifies the path to the CSV file.
return string

CreateExcel12FileConnectionString() public static method

Creates a connection string to an Excel (version 8) file.
public static CreateExcel12FileConnectionString ( string filePath ) : string
filePath string Specifies the path to the Excel file.
return string

CreateExcel8FileConnectionString() public static method

Creates a connection string to an Excel (version 8) file.
public static CreateExcel8FileConnectionString ( string filePath ) : string
filePath string Specifies the path to the Excel file.
return string