Imports a data file into a sql table
Namespace:
HS.Sys.TheEnterprise.Common.WrecksAssembly: Wrecks (in Wrecks.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public static void ImportDataFile( string filename, string dataTable, string connectionString, string delim ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub ImportDataFile ( _ filename As String, _ dataTable As String, _ connectionString As String, _ delim As String _ ) |
| Visual C++ |
|---|
public: static void ImportDataFile( String^ filename, String^ dataTable, String^ connectionString, String^ delim ) |
Parameters
- filename
- Type: System..::.String
Filename of the file to load
- dataTable
- Type: System..::.String
Table to load the data into
- connectionString
- Type: System..::.String
SQL Server to connect to
- delim
- Type: System..::.String
Field Delim in the data file